Class FulfillRequestedUploadRequestException.CannotReadUploadFileData

    • Constructor Detail

      • 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 Detail

      • 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