Class FileUploadBase.UnknownSizeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
All Implemented Interfaces:
Serializable
Enclosing class:
FileUploadBase

@Deprecated public static class FileUploadBase.UnknownSizeException extends FileUploadException
Deprecated.
1.2 As of commons-fileupload 1.2, the presence of a content-length header is no longer required.
Thrown to indicate that the request size is not specified. In other words, it is thrown, if the content-length header is missing or contains the value -1.
See Also:
  • Constructor Details

    • UnknownSizeException

      public UnknownSizeException()
      Deprecated.
      Constructs a UnknownSizeException with no detail message.
    • UnknownSizeException

      public UnknownSizeException(String message)
      Deprecated.
      Constructs an UnknownSizeException with the specified detail message.
      Parameters:
      message - The detail message.