Class SizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.tomcat.util.http.fileupload.FileUploadException
-
- org.apache.tomcat.util.http.fileupload.impl.SizeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FileSizeLimitExceededException,SizeLimitExceededException
public abstract class SizeException extends FileUploadException
This exception is thrown, if a requests permitted size is exceeded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSizeException(java.lang.String message, long actual, long permitted)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetActualSize()Retrieves the actual size of the request.longgetPermittedSize()Retrieves the permitted size of the request.
-