Package org.apache.commons.fileupload
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.
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 Summary
ConstructorDescriptionDeprecated.Constructs aUnknownSizeException
with no detail message.UnknownSizeException
(String message) Deprecated.Constructs anUnknownSizeException
with the specified detail message. -
Method Summary
Methods inherited from class org.apache.commons.fileupload.FileUploadException
getCause, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownSizeException
public UnknownSizeException()Deprecated.Constructs aUnknownSizeException
with no detail message. -
UnknownSizeException
Deprecated.Constructs anUnknownSizeException
with the specified detail message.- Parameters:
message
- The detail message.
-