public class FileSizeLimitExceededException extends SizeException
Constructor and Description |
---|
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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)
pFileName
- the file name of the item, which caused the exception.public String getFieldName()
public void setFieldName(String pFieldName)
pFieldName
- the field name of the item,
which caused the exception.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.