public class MimeIOException extends IOException
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.
Constructor and Description |
---|
MimeIOException(MimeException cause)
Constructs an IO exception based on
MimeException . |
Modifier and Type | Method and Description |
---|---|
MimeException |
getCause()
Returns the
MimeException that caused this
MimeIOException . |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MimeIOException(MimeException cause)
MimeException
.cause
- the cause.public MimeException getCause()
MimeException
that caused this
MimeIOException
.Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.