Module jakarta.mail

Class ConnectionException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Protocol getProtocol()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, 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

      • ConnectionException

        public ConnectionException()
        Constructs an ConnectionException with no detail message.
      • ConnectionException

        public ConnectionException​(java.lang.String s)
        Constructs an ConnectionException with the specified detail message.
        Parameters:
        s - the detail message
      • ConnectionException

        public ConnectionException​(Protocol p,
                                   Response r)
        Constructs an ConnectionException with the specified Response.
        Parameters:
        p - the Protocol object
        r - the Response
    • Method Detail

      • getProtocol

        public Protocol getProtocol()