Ernesto Reinaldo Barreiro created FILEUPLOAD-350:
----------------------------------------------------
Summary: FileUploadByteCountLimitException ignores file name and
uses instead field name
Key: FILEUPLOAD-350
URL: https://issues.apache.org/jira/browse/FILEUPLOAD-350
Project: Commons FileUpload
Issue Type: Improvement
Affects Versions: 2.0
Reporter: Ernesto Reinaldo Barreiro
/**
* Constructs an instance with the specified detail message, and actual and
permitted sizes.
*
* @param message The detail message (which is saved for later retrieval by the
\{@link #getMessage()} method)
* @param actual The actual request size.
* @param permitted The maximum permitted request size.
* @param fileName File name of the item, which caused the exception.
* @param fieldName Field name of the item, which caused the exception.
*/
public FileUploadByteCountLimitException(final String message, final long
actual, final long permitted, final String fileName, final String fieldName) {
super(message, permitted, actual);
this.fileName = fieldName;
this.fieldName = fieldName;
}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)