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.IOExceptionA 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
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
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.
-
-
-
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 theMimeExceptionthat caused thisMimeIOException.- Overrides:
getCausein classjava.lang.Throwable- Returns:
- the cause of this
MimeIOException.
-
-