public static class FileUploadBase.FileSizeLimitExceededException extends FileUploadBase.SizeException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fieldName
Field name of the item, which caused the exception.
|
private java.lang.String |
fileName
File name of the item, which caused the exception.
|
private static long |
serialVersionUID
The exceptions UID, for serializing an instance.
|
Constructor and Description |
---|
FileSizeLimitExceededException(java.lang.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 |
---|---|
java.lang.String |
getFieldName()
Returns the field name of the item, which caused the
exception.
|
java.lang.String |
getFileName()
Returns the file name of the item, which caused the
exception.
|
void |
setFieldName(java.lang.String pFieldName)
Sets the field name of the item, which caused the
exception.
|
void |
setFileName(java.lang.String pFileName)
Sets the file name of the item, which caused the
exception.
|
getActualSize, getPermittedSize
getCause, printStackTrace, printStackTrace
private static final long serialVersionUID
private java.lang.String fileName
private java.lang.String fieldName
public FileSizeLimitExceededException(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.public java.lang.String getFileName()
public void setFileName(java.lang.String pFileName)
pFileName
- the file name of the item, which caused the exception.public java.lang.String getFieldName()
public void setFieldName(java.lang.String pFieldName)
pFieldName
- the field name of the item,
which caused the exception.