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:
java.io.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 aInvalidContentTypeException
with no detail message.InvalidContentTypeException(java.lang.String message)
Constructs anInvalidContentTypeException
with the specified detail message.InvalidContentTypeException(java.lang.String msg, java.lang.Throwable cause)
Constructs anInvalidContentTypeException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
InvalidContentTypeException
public InvalidContentTypeException()
Constructs aInvalidContentTypeException
with no detail message.
-
InvalidContentTypeException
public InvalidContentTypeException(java.lang.String message)
Constructs anInvalidContentTypeException
with the specified detail message.- Parameters:
message
- The detail message.
-
InvalidContentTypeException
public InvalidContentTypeException(java.lang.String msg, java.lang.Throwable cause)
Constructs anInvalidContentTypeException
with the specified detail message and cause.- Parameters:
msg
- The detail message.cause
- the original cause- Since:
- 1.3.1
-
-