public static class FileUploadBase.FileSizeLimitExceededException extends FileUploadException
| 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 fieldName)
Sets the field name of the item, which caused the
exception.
|
void |
setFileName(java.lang.String fileName)
Sets the file name of the item, which caused the
exception.
|
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 getFieldName()
public java.lang.String getFileName()
public void setFieldName(java.lang.String fieldName)
fieldName - the field name of the item,
which caused the exception.public void setFileName(java.lang.String fileName)
fileName - the file name of the item, which caused the exception.Copyright © 2010 - 2025 Adobe. All Rights Reserved