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:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownSizeException()
Deprecated.Constructs aUnknownSizeException
with no detail message.UnknownSizeException(java.lang.String message)
Deprecated.Constructs anUnknownSizeException
with the specified detail message.
-
Method Summary
-
Methods inherited from class org.apache.commons.fileupload.FileUploadException
getCause, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
UnknownSizeException
public UnknownSizeException()
Deprecated.Constructs aUnknownSizeException
with no detail message.
-
UnknownSizeException
public UnknownSizeException(java.lang.String message)
Deprecated.Constructs anUnknownSizeException
with the specified detail message.- Parameters:
message
- The detail message.
-
-