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 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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
MimeIOException
public MimeIOException(MimeException cause)
- Constructs an IO exception based on
MimeException
.
- Parameters:
cause
- the cause.
getCause
public MimeException getCause()
- Returns the
MimeException
that caused this
MimeIOException
.
- Overrides:
getCause
in class java.lang.Throwable
- Returns:
- the cause of this
MimeIOException
.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.