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:
java.io.Serializable
public class MimeIOException extends java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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
.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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
.- Overrides:
getCause
in classjava.lang.Throwable
- Returns:
- the cause of this
MimeIOException
.
-
-