Package de.xima.fc.exceptions
Class AjaxUploadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.exceptions.AbstractXfcException
-
- de.xima.fc.exceptions.AjaxUploadException
-
- All Implemented Interfaces:
IFormI18nException
,IXfcException
,Serializable
public class AjaxUploadException extends AbstractXfcException implements IFormI18nException
When an error occurred in the AJAX upload servlet.- Since:
- 7.0.11
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AjaxUploadException(String message, String messageKey, String formI18nKey)
AjaxUploadException(String message, Throwable cause, String messageKey, String formI18nKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultErrorCode()
String
getDefaultMessageKey()
String
getFormI18nKey()
-
Methods inherited from class de.xima.fc.exceptions.AbstractXfcException
getErrorCode, getExceptionData, getLocalizedMessage, getMessageKey, getMessageParams
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.exceptions.IXfcException
getErrorCode, getExceptionData, getLocalizedMessage, getMessageKey, getMessageParams
-
-
-
-
Constructor Detail
-
AjaxUploadException
public AjaxUploadException(String message, String messageKey, String formI18nKey)
- Parameters:
message
- Detail message describing the error.messageKey
- Key for the localized message.formI18nKey
- I18N message key with the message for the web form.
-
AjaxUploadException
public AjaxUploadException(String message, Throwable cause, String messageKey, String formI18nKey)
- Parameters:
message
- Detail message describing the error.cause
- Underlying cause of the error.messageKey
- Key for the localized message.formI18nKey
- I18N message key with the message for the web form.
-
-
Method Detail
-
getFormI18nKey
public String getFormI18nKey()
- Specified by:
getFormI18nKey
in interfaceIFormI18nException
- Returns:
- The key to lookup in the form I18N messages. This should be used for messages facing the end-user.
-
getDefaultMessageKey
public String getDefaultMessageKey()
- Specified by:
getDefaultMessageKey
in interfaceIXfcException
-
getDefaultErrorCode
public String getDefaultErrorCode()
- Specified by:
getDefaultErrorCode
in interfaceIXfcException
-
-