Class FileCountLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.vaadin.external.apache.commons.fileupload2.FileUploadException
com.vaadin.external.apache.commons.fileupload2.pub.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 com.vaadin.external.apache.commons.fileupload2.FileUploadException
getCause, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, 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
-