|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
Thrown to indicate that the request size exceeds the configured maximum.
Constructor Summary | |
FileUploadBase.SizeLimitExceededException()
Constructs a SizeExceededException with no
detail message. |
|
FileUploadBase.SizeLimitExceededException(java.lang.String message)
Constructs a SizeExceededException with
the specified detail message. |
|
FileUploadBase.SizeLimitExceededException(java.lang.String message,
long actual,
long permitted)
Constructs a SizeExceededException with
the specified detail message, and actual and permitted sizes. |
Method Summary | |
long |
getActualSize()
Retrieves the actual size of the request. |
long |
getPermittedSize()
Retrieves the permitted size of the request. |
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 FileUploadBase.SizeLimitExceededException()
SizeExceededException
with no
detail message.
public FileUploadBase.SizeLimitExceededException(java.lang.String message)
SizeExceededException
with
the specified detail message.
message
- The detail message.public FileUploadBase.SizeLimitExceededException(java.lang.String message, long actual, long permitted)
SizeExceededException
with
the specified detail message, and actual and permitted sizes.
message
- The detail message.actual
- The actual request size.permitted
- The maximum permitted request size.Method Detail |
public long getActualSize()
public long getPermittedSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |