Class FulfillRequestedUploadRequestException.MismatchingMessage
- 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.MismatchingMessage
-
- All Implemented Interfaces:
IErrorDetails
,Serializable
- Enclosing class:
- FulfillRequestedUploadRequestException
public static final class FulfillRequestedUploadRequestException.MismatchingMessage extends FulfillRequestedUploadRequestException
Exception indicating that the message of the upload request does not match the expected message.- 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 MismatchingMessage(UUID messageUuid, FormRecordMessageUploadRequest uploadRequest)
Constructs a new exception indicating that the message of the upload request does not match the expected message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
int
getHttpStatusCode()
UUID
messageUuid()
The expected message UUID that does not match message of the upload request.FormRecordMessageUploadRequest
uploadRequest()
The upload request that does not match the message.-
Methods inherited from class de.xima.fc.common.form_record.chat.FulfillRequestedUploadRequestException
key
-
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.common.form_record.chat.IErrorDetails
getErrorMessage
-
-
-
-
Constructor Detail
-
MismatchingMessage
public MismatchingMessage(UUID messageUuid, FormRecordMessageUploadRequest uploadRequest)
Constructs a new exception indicating that the message of the upload request does not match the expected message.- Parameters:
messageUuid
- The expected message UUID that does not match message of the upload request.uploadRequest
- The upload request that does not match the message.
-
-
Method Detail
-
messageUuid
public UUID messageUuid()
The expected message UUID that does not match message of the upload request.- Returns:
- The expected message UUID that does not match message of the upload request.
-
uploadRequest
public FormRecordMessageUploadRequest uploadRequest()
The upload request that does not match the message.- Returns:
- The upload request that does not match the message.
-
getErrorCode
public String 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
-
-