Package org.apache.commons.fileupload
Class FileUploadBase.SizeLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadBase.SizeException
org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
- All Implemented Interfaces:
Serializable
- Enclosing class:
FileUploadBase
Thrown to indicate that the request size exceeds the configured maximum.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SizeLimitExceededException(String message) Deprecated.1.2 Replaced bySizeLimitExceededException(String, long, long)SizeLimitExceededException(String message, long actual, long permitted) Constructs aSizeExceededExceptionwith the specified detail message, and actual and permitted sizes. -
Method Summary
Methods inherited from class org.apache.commons.fileupload.FileUploadBase.SizeException
getActualSize, getPermittedSizeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SizeLimitExceededException
Deprecated.1.2 Replaced bySizeLimitExceededException(String, long, long) -
SizeLimitExceededException
Deprecated.1.2 Replaced bySizeLimitExceededException(String, long, long)- Parameters:
message- The exceptions detail message.
-
SizeLimitExceededException
Constructs aSizeExceededExceptionwith the specified detail message, and actual and permitted sizes.- Parameters:
message- The detail message.actual- The actual request size.permitted- The maximum permitted request size.
-
SizeLimitExceededException(String, long, long)