Package org.eclipse.rap.fileupload
Class UploadSizeLimitExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.rap.fileupload.UploadSizeLimitExceededException
-
- All Implemented Interfaces:
java.io.Serializable
public class UploadSizeLimitExceededException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadSizeLimitExceededException(long sizeLimit, java.lang.String fileName)
Constructs aUploadSizeLimitExceededException
with permitted size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileName()
Return the name of the uploaded file when the execption occurs.long
getSizeLimit()
Returns the maximum permitted file upload size in bytes.
-
-
-
Constructor Detail
-
UploadSizeLimitExceededException
public UploadSizeLimitExceededException(long sizeLimit, java.lang.String fileName)
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
-
-