Package jakarta.activation
Class MimeTypeParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jakarta.activation.MimeTypeParseException
-
- All Implemented Interfaces:
Serializable
public class MimeTypeParseException extends Exception
A class to encapsulate MimeType parsing related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MimeTypeParseException()
Constructs a MimeTypeParseException with no specified detail message.MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MimeTypeParseException
public MimeTypeParseException()
Constructs a MimeTypeParseException with no specified detail message.
-
MimeTypeParseException
public MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message.- Parameters:
s
- the detail message.
-
-