Class FulfillRequestedUploadRequestException.UploadElementConstraintsViolated

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    FulfillRequestedUploadRequestException

    public static final class FulfillRequestedUploadRequestException.UploadElementConstraintsViolated
    extends FulfillRequestedUploadRequestException
    Exception indicating that the upload element constraints were violated for the upload request. For example, the upload element configuration in the designer might enforce a file size limit, or the element might be repeated and the provided number of files exceed the configured maximum number of repetitions.
    Since:
    8.2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • UploadElementConstraintsViolated

        public UploadElementConstraintsViolated​(FormRecordMessageUploadRequest uploadRequest,
                                                FormDataUpdateUploadException cause)
        Constructs a new exception indicating that the upload element constraints were violated for the upload request. For example, the upload element configuration in the designer might enforce a file size limit, or the element might be repeated and the provided number of files exceed the configured maximum number of repetitions.
        Parameters:
        uploadRequest - The upload request for which the upload element constraints were violated.
        cause - The exception that caused the upload element constraints to be violated.
    • Method Detail

      • uploadException

        public FormDataUpdateUploadException uploadException()
        The upload exception with details regarding the upload element constraints that were violated.
        Returns:
        The upload exception with details regarding the upload element constraints that were violated.
      • uploadRequest

        public FormRecordMessageUploadRequest uploadRequest()
        The upload request for which upload element constraints were violated.
        Returns:
        The upload request for which upload element constraints were violated.