Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MimeException getCause()
      Returns the MimeException that caused this MimeIOException.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 java.lang.Throwable
        Returns:
        the cause of this MimeIOException.