public static class FileUploadBase.SizeLimitExceededException extends FileUploadException
Modifier and Type | Field and Description |
---|---|
private long |
actual
The actual size of the request.
|
private long |
permitted
The maximum permitted size of the request.
|
Constructor and Description |
---|
FileUploadBase.SizeLimitExceededException()
Constructs a
SizeExceededException with no
detail message. |
FileUploadBase.SizeLimitExceededException(java.lang.String message)
Constructs a
SizeExceededException with
the specified detail message. |
FileUploadBase.SizeLimitExceededException(java.lang.String message,
long actual,
long permitted)
Constructs a
SizeExceededException with
the specified detail message, and actual and permitted sizes. |
Modifier and Type | Method and Description |
---|---|
long |
getActualSize()
Retrieves the actual size of the request.
|
long |
getPermittedSize()
Retrieves the permitted size of the request.
|
private long actual
private long permitted
public FileUploadBase.SizeLimitExceededException()
SizeExceededException
with no
detail message.public FileUploadBase.SizeLimitExceededException(java.lang.String message)
SizeExceededException
with
the specified detail message.message
- The detail message.public FileUploadBase.SizeLimitExceededException(java.lang.String message, long actual, long permitted)
SizeExceededException
with
the specified detail message, and actual and permitted sizes.message
- The detail message.actual
- The actual request size.permitted
- The maximum permitted request size.