|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pajes.servlet.UploadFileRequestException
org.pajes.servlet.UploadFileRequestTooLargeException
public class UploadFileRequestTooLargeException
Thrown when a file upload request exceeds the maximum posting size.
| Field Summary |
|---|
| Fields inherited from class org.pajes.servlet.UploadFileRequestException |
|---|
BOUNDARY_MISSING, CORRUPT_CONTENT_DISPOSITION, CORRUPT_CONTENT_TYPE, LEADING_BOUNDARY_MISSING, MALFORMED_CONTENT_HEADERS, MAX_POSTING_SIZE_EXCEEDED, TEMP_DIR_MISSING, TEMP_DIR_NOT_DIRECTORY, TEMP_DIR_NOT_WRITABLE |
| Constructor Summary | |
|---|---|
UploadFileRequestTooLargeException(int contentLength,
int maxSize)
Flags that the request is larger than the maximum permitted posting size. |
|
| Method Summary | |
|---|---|
int |
getContentLength()
Returns the content length of the request. |
int |
getMaxFileUploadSize()
Returns the maximum allowable posting size for this request. |
| Methods inherited from class org.pajes.servlet.UploadFileRequestException |
|---|
getRootCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UploadFileRequestTooLargeException(int contentLength,
int maxSize)
contentLength - the size of the request.maxSize - the maximum allowed size.| Method Detail |
|---|
public int getContentLength()
public int getMaxFileUploadSize()
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||