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:
java.io.Serializable
public class FileCountLimitExceededException extends FileUploadException
This exception is thrown if a request contains more files than the specified limit.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
limit
The limit that was exceeded.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description FileCountLimitExceededException(java.lang.String message, long limit)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLimit()
Retrieves the limit that was exceeded.-
Methods inherited from class org.apache.commons.fileupload.FileUploadException
getCause, printStackTrace, printStackTrace
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
limit
private final long limit
The limit that was exceeded.
-
-