javax.activation
Class MimeTypeParseException
Exception
javax.activation.MimeTypeParseException
public class MimeTypeParseException
extends Exception
Exception thrown to indicate a malformed MIME content type.
MimeTypeParseException
public MimeTypeParseException()
Constructs a MimeTypeParseException with no detail message.
MimeTypeParseException
public MimeTypeParseException(String message)
MimeTypeParseException with the specified detail message.
message
- the exception message
MimeTypeParseException
public MimeTypeParseException(String message,
String token)
Constructs a MimeTypeParseException with the specified detail message
and token in error.
message
- the exception messagetoken
- the token in error