APIdia Launch Partner
Top Description Fields Constructors
com.sun.jdi.connect.spi

public Class ClosedConnectionException

extends IOException
Class Inheritance

This exception may be thrown as a result of an asynchronous close of a Connection while an I/O operation is in progress.

When a thread is blocked in readPacket waiting for packet from a target VM the Connection may be closed asynchronous by another thread invoking the close method. When this arises the thread in readPacket will throw this exception. Similarly when a thread is blocked in Connection#writePacket the Connection may be closed. When this occurs the thread in writePacket will throw this exception.

Since
1.5
See Also
Connection#readPacket, Connection#writePacket

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ClosedConnectionException()

Constructs a ClosedConnectionException with no detail message.

public
ClosedConnectionException(String
the detail message pertaining to this exception.
message
)

Constructs a ClosedConnectionException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

ClosedConnectionExceptionback to summary
public ClosedConnectionException()

Constructs a ClosedConnectionException with no detail message.

ClosedConnectionExceptionback to summary
public ClosedConnectionException(String message)

Constructs a ClosedConnectionException with the specified detail message.

Parameters
message:String

the detail message pertaining to this exception.