Class FulfillRequestedUploadRequestException.CannotReadUploadFileData

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.CannotReadUploadFileData
All Implemented Interfaces:
IErrorDetails, Serializable
Enclosing class:
FulfillRequestedUploadRequestException

public static final class FulfillRequestedUploadRequestException.CannotReadUploadFileData extends FulfillRequestedUploadRequestException
Exception indicating that the chat of the upload request does not match the expected chat.
Since:
8.2.0
See Also:
  • Constructor Details

    • CannotReadUploadFileData

      public CannotReadUploadFileData(FormRecordMessageUploadRequest uploadRequest, Throwable cause)
      Constructs a new exception indicating that the data of an input file could not be read.
      Parameters:
      uploadRequest - The upload request for which the file data could not be read.
      cause - The exception that occurred while trying to read the file data.
  • Method Details

    • uploadRequest

      public FormRecordMessageUploadRequest uploadRequest()
      The upload request for which the file data could not be read.
      Returns:
      The upload request for which the file data could not be read.
    • 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