Package play.data.parsing
Class ApacheMultipartParser.SizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.fileupload.FileUploadException
-
- play.data.parsing.ApacheMultipartParser.SizeException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ApacheMultipartParser
protected abstract static class ApacheMultipartParser.SizeException extends FileUploadException
This exception is thrown, if a requests permitted size is exceeded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SizeException(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 long
getActualSize()
Retrieves the actual size of the request.long
getPermittedSize()
Retrieves the permitted size of the request.-
Methods inherited from class org.apache.commons.fileupload.FileUploadException
getCause, printStackTrace, printStackTrace
-
-