Package org.apache.commons.fileupload
Class FileCountLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileCountLimitExceededException
- All Implemented Interfaces:
Serializable
This exception is thrown if a request contains more files than the specified
limit.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFileCountLimitExceededException
(String message, long limit) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileCountLimitExceededException
Creates a new instance.- Parameters:
message
- The detail messagelimit
- The limit that was exceeded
-
-
Method Details
-
getLimit
Gets the limit that was exceeded.- Returns:
- The limit that was exceeded by the request
-