Package org.apache.commons.fileupload
Class FileUploadBase.InvalidContentTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.fileupload.FileUploadException
org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
FileUploadBase
Thrown to indicate that the request is not a multipart request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aInvalidContentTypeExceptionwith no detail message.InvalidContentTypeException(String message) Constructs anInvalidContentTypeExceptionwith the specified detail message.InvalidContentTypeException(String message, Throwable cause) Constructs anInvalidContentTypeExceptionwith the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidContentTypeException
public InvalidContentTypeException()Constructs aInvalidContentTypeExceptionwith no detail message. -
InvalidContentTypeException
Constructs anInvalidContentTypeExceptionwith the specified detail message.- Parameters:
message- The detail message.
-
InvalidContentTypeException
Constructs anInvalidContentTypeExceptionwith the specified detail message and cause.- Parameters:
message- The detail message.cause- the original cause- Since:
- 1.3.1
-