Class FileCountLimitExceededException
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.FileCountLimitExceededException
- All Implemented Interfaces:
Serializable
This exception is thrown if a request contains more files than the specified
limit.
- See Also:
-
Constructor Summary
ConstructorDescriptionFileCountLimitExceededException
(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
public long getLimit()Retrieves the limit that was exceeded.- Returns:
- The limit that was exceeded by the request
-