Class MimeIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.james.mime4j.MimeIOException
- All Implemented Interfaces:
Serializable
A wrapper class based on
IOException for MIME protocol exceptions.
This exception is used to signal a MimeException in methods
that only permit IOException to be thrown.
The cause of a MimeIOException is always a
MimeException therefore.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMimeIOException(MimeException cause) Constructs an IO exception based onMimeException. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns theMimeExceptionthat caused thisMimeIOException.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MimeIOException
Constructs an IO exception based onMimeException.- Parameters:
cause- the cause.
-
-
Method Details