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 SummaryConstructorsConstructorDescriptionUploadSizeLimitExceededException(long sizeLimit, String fileName) Constructs aUploadSizeLimitExceededExceptionwith permitted size.
- 
Method SummaryModifier 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.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
UploadSizeLimitExceededExceptionConstructs 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- 
getSizeLimitpublic long getSizeLimit()Returns the maximum permitted file upload size in bytes.
- 
getFileNameReturn the name of the uploaded file when the execption occurs.
 
-