Top Description Fields Constructors Methods
org.apache.tomcat.util.http.fileupload.impl

public Class FileCountLimitExceededException

extends FileUploadException
Class Inheritance
Imports
org.apache.tomcat.util.http.fileupload.FileUploadException

This exception is thrown if a request contains more files than the specified limit.

Field Summary

Modifier and TypeField and Description
private final long
private static final long

Constructor Summary

AccessConstructor and Description
public
FileCountLimitExceededException(final String
The detail message
message
,
final long
The limit that was exceeded
limit
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The limit that was exceeded by the request
getLimit
()

Retrieves the limit that was exceeded.

Field Detail

limitback to summary
private final long limit
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.tomcat.util.http.fileupload.FileUploadException.serialVersionUID.

Constructor Detail

FileCountLimitExceededExceptionback to summary
public FileCountLimitExceededException(final String message, final long limit)

Creates a new instance.

Parameters
message:String

The detail message

limit:long

The limit that was exceeded

Method Detail

getLimitback to summary
public long getLimit()

Retrieves the limit that was exceeded.

Returns:long

The limit that was exceeded by the request