Top Fields Constructors Methods
com.sun.mail.iap

public Class ConnectionException

extends ProtocolException
Class Inheritance

Author
John Mani

Field Summary

Modifier and TypeField and Description
private transient Protocol
p

private static final long
Inherited from com.sun.mail.iap.ProtocolException:
response

Constructor Summary

AccessConstructor and Description
public
ConnectionException()

Constructs an ConnectionException with no detail message.

public
ConnectionException(String
the detail message
s
)

Constructs an ConnectionException with the specified detail message.

public
ConnectionException(Protocol
the Protocol object
p
,
Response
the Response
r
)

Constructs an ConnectionException with the specified Response.

Method Summary

Modifier and TypeMethod and Description
public Protocol
Inherited from com.sun.mail.iap.ProtocolException:
getResponse

Field Detail

pback to summary
private transient Protocol p
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.mail.iap.ProtocolException.serialVersionUID.

Constructor Detail

ConnectionExceptionback to summary
public ConnectionException()

Constructs an ConnectionException with no detail message.

ConnectionExceptionback to summary
public ConnectionException(String s)

Constructs an ConnectionException with the specified detail message.

Parameters
s:String

the detail message

ConnectionExceptionback to summary
public ConnectionException(Protocol p, Response r)

Constructs an ConnectionException with the specified Response.

Parameters
p:Protocol

the Protocol object

r:Response

the Response

Method Detail

getProtocolback to summary
public Protocol getProtocol()