Class FulfillRequestedUploadRequestException.FileExtensionNotAllowed
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException
-
- de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException.FileExtensionNotAllowed
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FulfillRequestedUploadRequestException
public static final class FulfillRequestedUploadRequestException.FileExtensionNotAllowed extends FulfillRequestedUploadRequestException
Exception indicating that the file extension is not allowed for the upload request.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException
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
-
-
Constructor Summary
Constructors Constructor Description FileExtensionNotAllowed(Set<String> allowedFileExtensions, String fileExtension, FormRecordMessageUploadRequest uploadRequest)Constructs a new exception indicating that the file extension is not allowed for the upload request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>allowedFileExtensions()The allowed extensions for the upload request.StringfileExtension()The actual extension of the file that is not allowed for the upload request.FormRecordMessageUploadRequestuploadRequest()The upload request for which the extension is not allowed.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FileExtensionNotAllowed
public FileExtensionNotAllowed(Set<String> allowedFileExtensions, String fileExtension, FormRecordMessageUploadRequest uploadRequest)
Constructs a new exception indicating that the file extension is not allowed for the upload request.- Parameters:
allowedFileExtensions- The allowed extensions for the upload request.fileExtension- The actual extension of the file that is not allowed for the upload request.uploadRequest- The upload request for which the extension is not allowed.
-
-
Method Detail
-
allowedFileExtensions
public Set<String> allowedFileExtensions()
The allowed extensions for the upload request.- Returns:
- The allowed extensions for the upload request.
-
fileExtension
public String fileExtension()
The actual extension of the file that is not allowed for the upload request.- Returns:
- The actual extension of the file that is not allowed for the upload request.
-
uploadRequest
public FormRecordMessageUploadRequest uploadRequest()
The upload request for which the extension is not allowed.- Returns:
- The upload request for which the extension is not allowed.
-
-