public abstract static class FileUploadBase.SizeException extends FileUploadException
Modifier | Constructor and Description |
---|---|
protected |
FileUploadBase.SizeException(String message,
long actual,
long permitted)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getActualSize()
Retrieves the actual size of the request.
|
long |
getPermittedSize()
Retrieves the permitted size of the request.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected FileUploadBase.SizeException(String message, long actual, long permitted)
message
- The detail message.actual
- The actual number of bytes in the request.permitted
- The requests size limit, in bytes.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.