Class FileUploadBase.SizeLimitExceededException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    FileUploadBase

    public static class FileUploadBase.SizeLimitExceededException
    extends FileUploadException
    Thrown to indicate that the request size exceeds the configured maximum.
    See Also:
    Serialized Form
    • Constructor Detail

      • SizeLimitExceededException

        @Deprecated
        public SizeLimitExceededException​(java.lang.String message)
        Parameters:
        message - The exceptions detail message.
      • SizeLimitExceededException

        public SizeLimitExceededException​(java.lang.String message,
                                          long actual,
                                          long permitted)
        Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
        Parameters:
        message - The detail message.
        actual - The actual request size.
        permitted - The maximum permitted request size.