|
||||||||||
| 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.SizeException
org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
public static class FileUploadBase.FileSizeLimitExceededException
Thrown to indicate that A files size exceeds the configured maximum.
| Constructor Summary | |
|---|---|
FileUploadBase.FileSizeLimitExceededException(String message,
long actual,
long permitted)
Constructs a SizeExceededException with
the specified detail message, and actual and permitted sizes. |
|
| Method Summary | |
|---|---|
String |
getFieldName()
Returns the field name of the item, which caused the exception. |
String |
getFileName()
Returns the file name of the item, which caused the exception. |
void |
setFieldName(String pFieldName)
Sets the field name of the item, which caused the exception. |
void |
setFileName(String pFileName)
Sets the file name of the item, which caused the exception. |
| Methods inherited from class org.apache.commons.fileupload.FileUploadBase.SizeException |
|---|
getActualSize, getPermittedSize |
| Methods inherited from class org.apache.commons.fileupload.FileUploadException |
|---|
getCause, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileUploadBase.FileSizeLimitExceededException(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 String getFileName()
public void setFileName(String pFileName)
public String getFieldName()
public void setFieldName(String pFieldName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||