public static class FileUploadBase.FileSizeLimitExceededException extends FileUploadBase.SizeException
Constructor and Description |
---|
FileUploadBase.FileSizeLimitExceededException(String message,
long actual,
long permitted)
Constructs a
SizeExceededException with
the specified detail message, and actual and permitted sizes. |
Modifier and Type | Method and Description |
---|---|
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.
|
getActualSize, getPermittedSize
getCause, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
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.public String getFileName()
public void setFileName(String pFileName)
public String getFieldName()
public void setFieldName(String pFieldName)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.