Class FulfillRequestedUploadRequestException.MismatchingChat
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.MismatchingChat
- All Implemented Interfaces:
IErrorDetails, Serializable
- Enclosing class:
FulfillRequestedUploadRequestException
public static final class FulfillRequestedUploadRequestException.MismatchingChat
extends FulfillRequestedUploadRequestException
Exception indicating that the chat of the upload request does not match the expected chat.
- 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
ConstructorsConstructorDescriptionMismatchingChat(UUID chatUuid, FormRecordMessageUploadRequest uploadRequest) Constructs a new exception indicating that chat of the upload request does not match the expected chat. -
Method Summary
Modifier and TypeMethodDescriptionchatUuid()The expected chat UUID that does not match chat of the upload request.intThe upload request that does not match the chat.Methods inherited from class FulfillRequestedUploadRequestException
keyMethods 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
getErrorMessage
-
Constructor Details
-
MismatchingChat
Constructs a new exception indicating that chat of the upload request does not match the expected chat.- Parameters:
chatUuid- The expected chat UUID that does not match chat of the upload request.uploadRequest- The upload request that does not match the chat.
-
-
Method Details
-
chatUuid
The expected chat UUID that does not match chat of the upload request.- Returns:
- The expected chat UUID that does not match chat of the upload request.
-
uploadRequest
The upload request that does not match the chat.- Returns:
- The upload request that does not match the chat.
-
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
-