public class FileUploadLimitExceededException extends StripesServletException
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.
|
public FileUploadLimitExceededException(long max, long posted)
max
- the current post size limitposted
- the size of the post? Copyright 2005-2006, Stripes Development Team.