public class MimeException extends 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(String message)
Constructs a new MIME exception with the specified detail message.
|
MimeException(String message,
Throwable cause)
Constructs a MIME exception with the specified detail message and cause.
|
MimeException(Throwable cause)
Constructs a MIME exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MimeException(String message)
message
- detail messagepublic MimeException(Throwable cause)
cause
- cause of the exceptionCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.