Class FulfillRequestedUploadRequestException.UploadElementConstraintsViolated
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.UploadElementConstraintsViolated
- All Implemented Interfaces:
IErrorDetails, Serializable
- Enclosing class:
FulfillRequestedUploadRequestException
public static final class FulfillRequestedUploadRequestException.UploadElementConstraintsViolated
extends FulfillRequestedUploadRequestException
Exception indicating that the upload element constraints were violated for the upload request. For example, the
upload element configuration in the designer might enforce a file size limit, or the element might be repeated
and the provided number of files exceed the configured maximum number of repetitions.
- Since:
- 8.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class 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
ConstructorsConstructorDescriptionUploadElementConstraintsViolated(FormRecordMessageUploadRequest uploadRequest, FormDataUpdateUploadException cause) Constructs a new exception indicating that the upload element constraints were violated for the upload request. -
Method Summary
Modifier and TypeMethodDescriptiongetErrorMessage(Locale locale) intThe upload exception with details regarding the upload element constraints that were violated.The upload request for which upload element constraints were violated.Methods inherited from class FulfillRequestedUploadRequestException
keyMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UploadElementConstraintsViolated
public UploadElementConstraintsViolated(FormRecordMessageUploadRequest uploadRequest, FormDataUpdateUploadException cause) Constructs a new exception indicating that the upload element constraints were violated for the upload request. For example, the upload element configuration in the designer might enforce a file size limit, or the element might be repeated and the provided number of files exceed the configured maximum number of repetitions.- Parameters:
uploadRequest- The upload request for which the upload element constraints were violated.cause- The exception that caused the upload element constraints to be violated.
-
-
Method Details
-
uploadException
The upload exception with details regarding the upload element constraints that were violated.- Returns:
- The upload exception with details regarding the upload element constraints that were violated.
-
uploadRequest
The upload request for which upload element constraints were violated.- Returns:
- The upload request for which upload element constraints were violated.
-
getErrorCode
- Returns:
- the related error code string (as a technical error description)
-
getHttpStatusCode
public int getHttpStatusCode()- Returns:
- the HTTP status code related to this error
-
getErrorMessage
-