Top Description Constructors Methods
javax.resource.spi

public Class CommException

extends ResourceException
Class Inheritance

This indicates errors related to failed or interrupted communication with an EIS instance. Examples of common error conditions represented by this exception type are communication protocol error and invalidated connection due to server failure.
Authors
Rahul Sharma, Ram Jeyaraman
Version
1.0

Constructor Summary

AccessConstructor and Description
public
CommException()

Constructs a new instance with null as its detail message.

public
CommException(String
the detail message.
message
)

Constructs a new instance with the specified detail message.

public
CommException(Throwable
a chained exception of type Throwable.
cause
)

Constructs a new throwable with the specified cause.

public
CommException(String
the detail message.
message
,
Throwable
a chained exception of type Throwable.
cause
)

Constructs a new throwable with the specified detail message and cause.

public
CommException(String
a description of the exception.
message
,
String
a string specifying the vendor specific error code.
errorCode
)

Constructs a new throwable with the specified detail message and an error code.

Method Summary

Inherited from javax.resource.ResourceException:
getErrorCodegetLinkedExceptiongetMessagesetErrorCodesetLinkedException

Constructor Detail

CommExceptionback to summary
public CommException()

Constructs a new instance with null as its detail message.

CommExceptionback to summary
public CommException(String message)

Constructs a new instance with the specified detail message.

Parameters
message:String

the detail message.

CommExceptionback to summary
public CommException(Throwable cause)

Constructs a new throwable with the specified cause.

Parameters
cause:Throwable

a chained exception of type Throwable.

CommExceptionback to summary
public CommException(String message, Throwable cause)

Constructs a new throwable with the specified detail message and cause.

Parameters
message:String

the detail message.

cause:Throwable

a chained exception of type Throwable.

CommExceptionback to summary
public CommException(String message, String errorCode)

Constructs a new throwable with the specified detail message and an error code.

Parameters
message:String

a description of the exception.

errorCode:String

a string specifying the vendor specific error code.