public class MimeException
extends java.lang.Exception
A MimeException may be thrown by a ContentHandler to
indicate that it has failed to process a message event and that no further
events should be generated.
MimeException also gets thrown by the parser to indicate MIME
protocol errors, e.g. if a message boundary is too long or a header field
cannot be parsed.
| Constructor and Description |
|---|
MimeException(java.lang.String message)
Constructs a new MIME exception with the specified detail message.
|
MimeException(java.lang.String message,
java.lang.Throwable cause)
Constructs a MIME exception with the specified detail message and cause.
|
MimeException(java.lang.Throwable cause)
Constructs a MIME exception with the specified cause.
|
public MimeException(java.lang.String message)
message - detail messagepublic MimeException(java.lang.Throwable cause)
cause - cause of the exceptionpublic MimeException(java.lang.String message,
java.lang.Throwable cause)
message - detail messagecause - cause of the exception