|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.james.mime4j.MimeException
public class MimeException
MIME processing 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 Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MimeException(String message)
message - detail messagepublic MimeException(Throwable cause)
cause - cause of the exception
public MimeException(String message,
Throwable cause)
message - detail messagecause - cause of the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||