Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-350

FileUploadByteCountLimitException ctor switches fileName and fieldName parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 2.0.0
    • None

    Description

      /**

      • 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; }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reiern70 Ernesto Reinaldo Barreiro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: