Class UploadSizeLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rap.fileupload.UploadSizeLimitExceededException
All Implemented Interfaces:
Serializable

public class UploadSizeLimitExceededException extends Exception
See Also:
  • Constructor Details

    • UploadSizeLimitExceededException

      public UploadSizeLimitExceededException(long sizeLimit, String fileName)
      Constructs a UploadSizeLimitExceededException with permitted size.
      Parameters:
      sizeLimit - The maximum permitted file upload size in bytes.
      fileName - The name of the uploaded file when the execption occurs.
      Since:
      3.3
  • Method Details

    • getSizeLimit

      public long getSizeLimit()
      Returns the maximum permitted file upload size in bytes.
    • getFileName

      public String getFileName()
      Return the name of the uploaded file when the execption occurs.