Package com.sun.mail.iap
Class ConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.mail.iap.ProtocolException
-
- com.sun.mail.iap.ConnectionException
-
- All Implemented Interfaces:
Serializable
public class ConnectionException extends ProtocolException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionException()
Constructs an ConnectionException with no detail message.ConnectionException(Protocol p, Response r)
Constructs an ConnectionException with the specified Response.ConnectionException(String s)
Constructs an ConnectionException with the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol
getProtocol()
-
Methods inherited from class com.sun.mail.iap.ProtocolException
getResponse
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConnectionException
public ConnectionException()
Constructs an ConnectionException with no detail message.
-
ConnectionException
public ConnectionException(String s)
Constructs an ConnectionException with the specified detail message.- Parameters:
s
- the detail message
-
-
Method Detail
-
getProtocol
public Protocol getProtocol()
-
-