|
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
public class UploadFileRequestException
Thrown when an IO exception relating to a multi-part request occurs.
| Field Summary | |
|---|---|
static java.lang.String |
BOUNDARY_MISSING
Message key for when an UploadFileRequest cannot locate the boundary after content-type header. |
static java.lang.String |
CORRUPT_CONTENT_DISPOSITION
Message key for when an UploadFileRequest detects a corrupt Content-Disposition. |
static java.lang.String |
CORRUPT_CONTENT_TYPE
Message key for when an UploadFileRequest detects a corrupt Content-Type. |
static java.lang.String |
LEADING_BOUNDARY_MISSING
Message key for when an UploadFileRequest cannot locate the boundary after content-type header. |
static java.lang.String |
MALFORMED_CONTENT_HEADERS
Message key for when an UploadFileRequest detects a missing blank line between the content headers and the content |
static java.lang.String |
MAX_POSTING_SIZE_EXCEEDED
Message key for when an UploadFileRequest exceeds the maximum specifed size. |
static java.lang.String |
TEMP_DIR_MISSING
Message key for when an UploadFileRequest cannot locate the temporary directory. |
static java.lang.String |
TEMP_DIR_NOT_DIRECTORY
Message key for when an UploadFileRequest receives a directory name from the ServletContext that is not a directory. |
static java.lang.String |
TEMP_DIR_NOT_WRITABLE
Message key for when an UploadFileRequest receives a directory name from the ServletContext that is not writable. |
| Constructor Summary | |
|---|---|
UploadFileRequestException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
UploadFileRequestException(java.lang.String messageKey,
java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
UploadFileRequestException(java.lang.Throwable rootCause,
long bytes)
Creates a new exception to wrapper another exception. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getRootCause()
Returns the exception that caused this exception. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String BOUNDARY_MISSING
public static final java.lang.String CORRUPT_CONTENT_DISPOSITION
public static final java.lang.String CORRUPT_CONTENT_TYPE
public static final java.lang.String LEADING_BOUNDARY_MISSING
public static final java.lang.String MALFORMED_CONTENT_HEADERS
public static final java.lang.String MAX_POSTING_SIZE_EXCEEDED
public static final java.lang.String TEMP_DIR_MISSING
public static final java.lang.String TEMP_DIR_NOT_DIRECTORY
public static final java.lang.String TEMP_DIR_NOT_WRITABLE
| Constructor Detail |
|---|
public UploadFileRequestException(java.lang.String messageKey)
messageKey - the key from which the actual exception message will be
located.
public UploadFileRequestException(java.lang.String messageKey,
java.lang.String[] arguments)
messageKey - the key from which the actual exception message will be
located.arguments - any arguments to be passed to create the complete message.
public UploadFileRequestException(java.lang.Throwable rootCause,
long bytes)
rootCause - the Throwable exception that indicates why the
parameter could not be decoded.bytes - the number of bytes read from the stream.| Method Detail |
|---|
public java.lang.Throwable getRootCause()
Throwable that caused this exception.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||