Top Description Fields Constructors
javax.resource.spi.work

public Class RetryableWorkRejectedException

extends WorkRejectedException
implements RetryableException
Class Inheritance
All Implemented Interfaces
javax.resource.spi.RetryableException, java.io.Serializable
Imports
javax.resource.spi.RetryableException

A subclass of the WorkRejectedException that indicates that the the service unavailability is transient. It is thrown in situations where the previously failed operation might be able to succeed if the resource adapter performs some recovery steps and retries the operation.
Since
1.6
Version
Java EE Connector Architecture 1.6

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Determines if a deserialized instance of this class is compatible with this class.

Constructor Summary

AccessConstructor and Description
public
RetryableWorkRejectedException()

Constructs a new instance with null as its detail message.

public
RetryableWorkRejectedException(String
the detail message.
message
)

Constructs a new instance with the specified detail message.

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

Constructs a new throwable with the specified cause.

public
RetryableWorkRejectedException(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
RetryableWorkRejectedException(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.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Determines if a deserialized instance of this class is compatible with this class.

Constructor Detail

RetryableWorkRejectedExceptionback to summary
public RetryableWorkRejectedException()

Constructs a new instance with null as its detail message.

RetryableWorkRejectedExceptionback to summary
public RetryableWorkRejectedException(String message)

Constructs a new instance with the specified detail message.

Parameters
message:String

the detail message.

RetryableWorkRejectedExceptionback to summary
public RetryableWorkRejectedException(Throwable cause)

Constructs a new throwable with the specified cause.

Parameters
cause:Throwable

a chained exception of type Throwable.

RetryableWorkRejectedExceptionback to summary
public RetryableWorkRejectedException(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.

RetryableWorkRejectedExceptionback to summary
public RetryableWorkRejectedException(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.