public static class FileUploadBase.FileSizeLimitExceededException extends FileUploadBase.SizeException
Constructor and Description |
---|
FileUploadBase.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
public FileUploadBase.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.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.