public class SizeLimitExceededException extends FileUploadException
| Constructor and Description |
|---|
SizeLimitExceededException(String sMessage,
long nActual,
long nPermitted)
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SizeLimitExceededException(String sMessage, long nActual, long nPermitted)
SizeExceededException with the specified detail
message, and actual and permitted sizes.sMessage - The detail message.nActual - The actual request size.nPermitted - The maximum permitted request size.Copyright © 2014–2019 Philip Helger. All rights reserved.