Class FulfillRequestedUploadRequestException.FileExtensionNotAllowed

    • Constructor Detail

      • FileExtensionNotAllowed

        public FileExtensionNotAllowed​(Set<String> allowedFileExtensions,
                                       String fileExtension,
                                       FormRecordMessageUploadRequest uploadRequest)
        Constructs a new exception indicating that the file extension is not allowed for the upload request.
        Parameters:
        allowedFileExtensions - The allowed extensions for the upload request.
        fileExtension - The actual extension of the file that is not allowed for the upload request.
        uploadRequest - The upload request for which the extension is not allowed.
    • Method Detail

      • allowedFileExtensions

        public Set<String> allowedFileExtensions()
        The allowed extensions for the upload request.
        Returns:
        The allowed extensions for the upload request.
      • fileExtension

        public String fileExtension()
        The actual extension of the file that is not allowed for the upload request.
        Returns:
        The actual extension of the file that is not allowed for the upload request.
      • uploadRequest

        public FormRecordMessageUploadRequest uploadRequest()
        The upload request for which the extension is not allowed.
        Returns:
        The upload request for which the extension is not allowed.