Class MimeIOException

  • All Implemented Interfaces:
    Serializable

    public class MimeIOException
    extends 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
    • Constructor Detail

      • MimeIOException

        public MimeIOException​(MimeException cause)
        Constructs an IO exception based on MimeException.
        Parameters:
        cause - the cause.
    • Method Detail

      • getCause

        public MimeException getCause()
        Returns the MimeException that caused this MimeIOException.
        Overrides:
        getCause in class Throwable
        Returns:
        the cause of this MimeIOException.