Class InvalidContentTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.tomcat.util.http.fileupload.FileUploadException
-
- org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException
-
- All Implemented Interfaces:
Serializable
public class InvalidContentTypeException extends FileUploadException
Thrown to indicate that the request is not a multipart request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidContentTypeException()Constructs aInvalidContentTypeExceptionwith no detail message.InvalidContentTypeException(String message)Constructs anInvalidContentTypeExceptionwith the specified detail message.InvalidContentTypeException(String msg, 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 Detail
-
InvalidContentTypeException
public InvalidContentTypeException()
Constructs aInvalidContentTypeExceptionwith no detail message.
-
InvalidContentTypeException
public InvalidContentTypeException(String message)
Constructs anInvalidContentTypeExceptionwith the specified detail message.- Parameters:
message- The detail message.
-
-