Top Description Constructors Methods
javax.resource.spi

public Class UnavailableException

extends ResourceException
Class Inheritance
Known Direct Subclasses
javax.resource.spi.RetryableUnavailableException

This is thrown to indicate that a service is unavailable.
Author
Ram Jeyaraman
Version
1.0

Constructor Summary

AccessConstructor and Description
public
UnavailableException()

Constructs a new instance with null as its detail message.

public
UnavailableException(String
the detail message.
message
)

Constructs a new instance with the specified detail message.

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

Constructs a new throwable with the specified cause.

public
UnavailableException(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
UnavailableException(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

UnavailableExceptionback to summary
public UnavailableException()

Constructs a new instance with null as its detail message.

UnavailableExceptionback to summary
public UnavailableException(String message)

Constructs a new instance with the specified detail message.

Parameters
message:String

the detail message.

UnavailableExceptionback to summary
public UnavailableException(Throwable cause)

Constructs a new throwable with the specified cause.

Parameters
cause:Throwable

a chained exception of type Throwable.

UnavailableExceptionback to summary
public UnavailableException(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.

UnavailableExceptionback to summary
public UnavailableException(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.