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
ConstructorsConstructorDescriptionUploadSizeLimitExceededException(long sizeLimit, String fileName) Constructs aUploadSizeLimitExceededExceptionwith permitted size. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the uploaded file when the execption occurs.longReturns 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 aUploadSizeLimitExceededExceptionwith 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.
-