FileDocCategorySizeDatePackage
MinorCode.javaAPI DocGlassfish v2 API7870Fri May 04 22:36:38 BST 2007com.sun.jts.CosTransactions

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

Fields Summary
public static int
Undefined
This minor code is used on standard exceptions.

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

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

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

public static 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).

public static 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.

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

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

public static 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.

public static 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.

public static 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.

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

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

public static 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.

public static 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.

public static 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.

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

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

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

It indicates that an internal logic error was detected.

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

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

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

It indicates that a RecoveryCoordinator could not be created.

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

It indicates that the TransactionService could not be created.

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

It indicates that recreating a imported transaction has failed.

public static 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.

Constructors Summary
Methods Summary