Class FulfillRequestedUploadRequestException.MinFileCountLimitNotReached

    • Constructor Detail

      • MinFileCountLimitNotReached

        public MinFileCountLimitNotReached​(long minFileCount,
                                           long fileCount,
                                           FormRecordMessageUploadRequest uploadRequest)
        Constructs a new exception indicating that the minimum file size limit was not met for the upload request.
        Parameters:
        minFileCount - The minimum file count limit that was exceeded by the files.
        fileCount - The actual number of files that did not meet the minimum file count limit.
        uploadRequest - The upload request for which the file size limit was not met.
    • Method Detail

      • fileCount

        public long fileCount()
        The actual number of files that did not meet the minimum size limit.
        Returns:
        The actual number of files that did not meet the minimum size limit.
      • minFileCount

        public long minFileCount()
        The minimum file count limit that was exceeded by the files.
        Returns:
        The minimum file count limit that was exceeded by the files.
      • uploadRequest

        public FormRecordMessageUploadRequest uploadRequest()
        The upload request for which the file size limit was not met.
        Returns:
        The upload request for which the file size limit was not met.
      • 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
      • getErrorMessage

        public String getErrorMessage​(Locale locale)
        Parameters:
        locale - the local to be used for localization
        Returns:
        a (usually localized) detailed error description for the end user