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 onIOExceptionfor MIME protocol exceptions.This exception is used to signal a
MimeExceptionin methods that only permitIOExceptionto be thrown.The cause of a
MimeIOExceptionis always aMimeExceptiontherefore.- 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 MimeExceptiongetCause()Returns theMimeExceptionthat 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 theMimeExceptionthat caused thisMimeIOException.
-
-