Top Description Fields Constructors
org.apache.tomcat.util.http.fileupload.impl

public Class InvalidContentTypeException

extends FileUploadException
Class Inheritance
Imports
org.apache.tomcat.util.http.fileupload.FileUploadException

Thrown to indicate that the request is not a multipart request.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidContentTypeException()

Constructs a InvalidContentTypeException with no detail message.

public
InvalidContentTypeException(final String
The detail message.
message
)

Constructs an InvalidContentTypeException with the specified detail message.

public
InvalidContentTypeException(final String
The detail message.
msg
,
final Throwable
the original cause
cause
)

Constructs an InvalidContentTypeException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.tomcat.util.http.fileupload.FileUploadException.serialVersionUID.

The exceptions UID, for serializing an instance.

Constructor Detail

InvalidContentTypeExceptionback to summary
public InvalidContentTypeException()

Constructs a InvalidContentTypeException with no detail message.

InvalidContentTypeExceptionback to summary
public InvalidContentTypeException(final String message)

Constructs an InvalidContentTypeException with the specified detail message.

Parameters
message:String

The detail message.

InvalidContentTypeExceptionback to summary
public InvalidContentTypeException(final String msg, final Throwable cause)

Constructs an InvalidContentTypeException with the specified detail message and cause.

Parameters
msg:String

The detail message.

cause:Throwable

the original cause

Since
1.3.1