Class FulfillRequestedUploadRequestException.EmptyUploadFile

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

public static final class FulfillRequestedUploadRequestException.EmptyUploadFile extends FulfillRequestedUploadRequestException
Exception indicating that the file is empty and cannot be used to fulfill for the upload request.
Since:
8.2.0
See Also:
  • Constructor Details

    • EmptyUploadFile

      public EmptyUploadFile(String fileName, FormRecordMessageUploadRequest uploadRequest)
      Constructs a new exception indicating that the file is empty and cannot be used to fulfill for the upload request.
      Parameters:
      fileName - The name of the file that is empty and cannot be used to fulfill the upload request.
      uploadRequest - The upload request for which an empty file was provided.
  • Method Details

    • fileName

      public String fileName()
      The name of the file that is empty and cannot be used to fulfill the upload request.
      Returns:
      The name of the file that is empty and cannot be used to fulfill the upload request.
    • uploadRequest

      public FormRecordMessageUploadRequest uploadRequest()
      The upload request for which an empty file was provided.
      Returns:
      The upload request for which an empty file was provided.
    • 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