Package org.apache.james.mime4j
Class MimeIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.james.mime4j.MimeIOException
-
- All Implemented Interfaces:
Serializable
public class MimeIOException extends IOException
A wrapper class based onIOException
for MIME protocol exceptions.This exception is used to signal a
MimeException
in methods that only permitIOException
to be thrown.The cause of a
MimeIOException
is always aMimeException
therefore.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MimeIOException(MimeException cause)
Constructs an IO exception based onMimeException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MimeException
getCause()
Returns theMimeException
that caused thisMimeIOException
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MimeIOException
public MimeIOException(MimeException cause)
Constructs an IO exception based onMimeException
.- Parameters:
cause
- the cause.
-
-
Method Detail
-
getCause
public MimeException getCause()
Returns theMimeException
that caused thisMimeIOException
.
-
-