Class FulfillRequestedUploadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException
- All Implemented Interfaces:
IErrorDetails, Serializable
- Direct Known Subclasses:
FulfillRequestedUploadRequestException.CannotReadUploadFileData, FulfillRequestedUploadRequestException.EmptyUploadFile, FulfillRequestedUploadRequestException.FileExtensionNotAllowed, FulfillRequestedUploadRequestException.MaxFileCountLimitExceeded, FulfillRequestedUploadRequestException.MaxFileSizeLimitExceeded, FulfillRequestedUploadRequestException.MinFileCountLimitNotReached, FulfillRequestedUploadRequestException.MismatchingChat, FulfillRequestedUploadRequestException.MismatchingMessage, FulfillRequestedUploadRequestException.MissingContentType, FulfillRequestedUploadRequestException.MissingFileName, FulfillRequestedUploadRequestException.MissingUser, FulfillRequestedUploadRequestException.NoFilesProvided, FulfillRequestedUploadRequestException.NoFormDataAvailable, FulfillRequestedUploadRequestException.UnableToProcessUploadRequest, FulfillRequestedUploadRequestException.UploadElementConstraintsViolated, FulfillRequestedUploadRequestException.UploadRequestAlreadyFulfilled, FulfillRequestedUploadRequestException.UploadRequestNotFound, FulfillRequestedUploadRequestException.UserNotMemberOfChat
public abstract class FulfillRequestedUploadRequestException
extends Exception
implements IErrorDetails
Base exception for exceptions that can occur when fulfilling an upload request. This is just a verbose emulation of a
sum type in Java.
- Since:
- 8.2.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classException indicating that the chat of the upload request does not match the expected chat.static final classException indicating that the file is empty and cannot be used to fulfill for the upload request.static final classException indicating that the file extension is not allowed for the upload request.static final classException indicating that the limit on the maximum number of files was exceeded for the upload request.static final classException indicating that the file size limit was exceeded for the upload request.static final classException indicating that the limit on the minimum number of files was not met for the upload request.static final classException indicating that the chat of the upload request does not match the expected chat.static final classException indicating that the message of the upload request does not match the expected message.static final classException indicating that a file without an explicit content was provided to fulfill the upload request.static final classException indicating that a file without a file name was provided to fulfill the upload request.static final classException indicating that no user was provided to fulfill the upload request (and that a user is required to fulfill the request).static final classException indicating that no files were provided that could be used to fulfill the upload request.static final classException indicating that the form record does not contain form data for the upload request.static final classGeneric exception indicating that the upload request could not be fulfilled due to an unknown or unhandled error.static final classException indicating that the upload element constraints were violated for the upload request.static final classException indicating that the upload request was already fulfilled (and cannot be fulfilled again).static final classException indicating that the upload request with the given UUID was not found.static classException indicating that the user is not a member of the chat containing the message with the upload request. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IErrorDetails
getErrorCode, getErrorMessage, getHttpStatusCode
-
Method Details
-
key
- Returns:
- the class-specific i18n key for message localization (pattern: '[exception class name]_[error code]')
-