Package org.eclipse.rap.fileupload
Class UploadSizeLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rap.fileupload.UploadSizeLimitExceededException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionUploadSizeLimitExceededException
(long sizeLimit, String fileName) Constructs aUploadSizeLimitExceededException
with permitted size. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the uploaded file when the execption occurs.long
Returns the maximum permitted file upload size in bytes.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UploadSizeLimitExceededException
Constructs aUploadSizeLimitExceededException
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
Return the name of the uploaded file when the execption occurs.
-