com.sun.mail.iap
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.mail.iap.ProtocolException
              extended by com.sun.mail.iap.ConnectionException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionException
extends ProtocolException

Author:
John Mani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.mail.iap.ProtocolException
response
 
Constructor Summary
ConnectionException()
          Constructs an ConnectionException with no detail message.
ConnectionException(Protocol p, Response r)
          Constructs an ConnectionException with the specified Response.
ConnectionException(java.lang.String s)
          Constructs an ConnectionException with the specified detail message.
 
Method Summary
 Protocol getProtocol()
           
 
Methods inherited from class com.sun.mail.iap.ProtocolException
getResponse
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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:
r - the Response
Method Detail

getProtocol

public Protocol getProtocol()


Copyright © 2012. All Rights Reserved.