public class FileUploadLimitExceededException extends ServletException
| Constructor and Description |
|---|
FileUploadLimitExceededException(long max,
long posted)
Constructs a new exception that contains the limit that was violated, and the size
of the post that violated it, both in bytes.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaximum()
Gets the limit in bytes for HTTP POSTs.
|
long |
getPosted()
The size in bytes of the HTTP POST.
|
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FileUploadLimitExceededException(long max,
long posted)
max - the current post size limitposted - the size of the postCopyright © 2022 MANYDESIGNS s.r.l.. All rights reserved.