com.sun.jts.CosTransactions
Interface MinorCode


public interface MinorCode

This class simply contains minor code values for standard exceptions thrown by the JTS.

Version:
0.01
Author:
Simon Holdsworth, IBM Corporation
See Also:

Field Summary
static int AlreadyStacked
          This minor code is used on the INTERNAL exception.
static int CompareFailed
          This minor code is used on the INVALID_TRANSACTION exception.
static int Completed
          This minor code is used on the INVALID_TRANSACTION exception.
static int DeferredActivities
          This minor code is used on the INVALID_TRANSACTION exception.
static int FactoryFailed
          This minor code is used on the INVALID_TRANSACTION exception.
static int LogicError
          This minor code is used on the INTERNAL exception.
static int NoCoordinator
          This minor code is used on the INTERNAL exception.
static int NoGlobalTID
          This minor code is used on the INTERNAL exception.
static int NotRegistered
          This minor code is used on the INTERNAL exception.
static int RecCoordCreateFailed
          This minor code is used on the INTERNAL exception.
static int SubForTop
          This minor code is used on the INTERNAL exception.
static int TopForSub
          This minor code is used on the INTERNAL exception.
static int TSCreateFailed
          This minor code is used on the INTERNAL exception.
static int TX_CONCURRENT_WORK_DISALLOWED
          This minor code is used on the INVALID_TRANSACTION exception.
static int TX_RECREATE_FAILED
          This minor code is used on the INVALID_TRANSACTION exception.
static int Undefined
          This minor code is used on standard exceptions.
static int UnfinishedSubtransactions
          This minor code is used on the INVALID_TRANSACTION exception.
static int WrongContextOnReply
          This minor code is used on the INVALID_TRANSACTION exception.
static int XAOutside
          This minor code is used on the INVALID_TRANSACTION exception.
 

Field Detail

Undefined

static final int Undefined
This minor code is used on standard exceptions.

It indicates that there is no further information for the exception.

See Also:
Constant Field Values

UnfinishedSubtransactions

static final int UnfinishedSubtransactions
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that the transaction is invalid because it has unfinished subtransactions.

See Also:
Constant Field Values

DeferredActivities

static final int DeferredActivities
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that the transaction is invalid because it has outstanding work (other threads either in the same process or other processes which are still associated with the transaction).

See Also:
Constant Field Values

Completed

static final int Completed
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that the transaction has completed and the operation is not valid.

See Also:
Constant Field Values

FactoryFailed

static final int FactoryFailed
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that the TransactionFactory was unable to create the transaction.

See Also:
Constant Field Values

XAOutside

static final int XAOutside
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that an XA Resource Manager is doing work outside of a transaction on the current thread and cannot allow the begin or resume operation.

See Also:
Constant Field Values

WrongContextOnReply

static final int WrongContextOnReply
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that a reply is returning when a different transaction is active from the one active when the request was imported.

See Also:
Constant Field Values

CompareFailed

static final int CompareFailed
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that the is_same_transaction operation has been invoked with a parameter which represents a Coordinator object from a different implementation of the OTS interfaces, and that Coordinator object is in the process of ending the transaction. In this case, the JTS cannot obtain the necessary information to determine equality of the Coordinator objects.

See Also:
Constant Field Values

NoCoordinator

static final int NoCoordinator
This minor code is used on the INTERNAL exception.

It indicates that the object could not locate the Coordinator for its transaction.

See Also:
Constant Field Values

NoGlobalTID

static final int NoGlobalTID
This minor code is used on the INTERNAL exception.

It indicates that the object did not have access to the global identifier for the transaction which it represents.

See Also:
Constant Field Values

TopForSub

static final int TopForSub
This minor code is used on the INTERNAL exception.

It indicates that the object represents a subtransaction and was called for a top-level transaction operation.

See Also:
Constant Field Values

SubForTop

static final int SubForTop
This minor code is used on the INTERNAL exception.

It indicates that the object represents a top-level transaction and was called for a subtransaction operation.

See Also:
Constant Field Values

AlreadyStacked

static final int AlreadyStacked
This minor code is used on the INTERNAL exception.

It indicates that a stacked Control object already exists when beginning a subtransaction.

See Also:
Constant Field Values

LogicError

static final int LogicError
This minor code is used on the INTERNAL exception.

It indicates that an internal logic error was detected.

See Also:
Constant Field Values

NotRegistered

static final int NotRegistered
This minor code is used on the INTERNAL exception.

It indicates that a Resource could not be registered by a subordinate.

See Also:
Constant Field Values

RecCoordCreateFailed

static final int RecCoordCreateFailed
This minor code is used on the INTERNAL exception.

It indicates that a RecoveryCoordinator could not be created.

See Also:
Constant Field Values

TSCreateFailed

static final int TSCreateFailed
This minor code is used on the INTERNAL exception.

It indicates that the TransactionService could not be created.

See Also:
Constant Field Values

TX_RECREATE_FAILED

static final int TX_RECREATE_FAILED
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that recreating a imported transaction has failed.

See Also:
Constant Field Values

TX_CONCURRENT_WORK_DISALLOWED

static final int TX_CONCURRENT_WORK_DISALLOWED
This minor code is used on the INVALID_TRANSACTION exception.

It indicates that concurrent activity within a transaction is disallowed.

See Also:
Constant Field Values


Copyright © 2012 GlassFish Community. All Rights Reserved.