com.sleepycat.je
Class XAFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.je.DatabaseException
                  extended by com.sleepycat.je.OperationFailureException
                      extended by com.sleepycat.je.XAFailureException
All Implemented Interfaces:
Serializable

public class XAFailureException
extends OperationFailureException

Thrown if an attempt is made to use a Transaction after it has been invalidated as the result of an XA failure. The invalidation occurs when XAResource.end is called by the resource manager with a XAResource.TMFAIL flag.

The Transaction handle is invalidated as a result of this exception.

Since:
4.0
See Also:
Serialized Form

Constructor Summary
XAFailureException(Locker locker)
          For internal use only.
 
Method Summary
 OperationFailureException wrapSelf(String msg)
          For internal use only.
 
Methods inherited from class com.sleepycat.je.DatabaseException
addErrorMessage, getMessage, getVersionHeader
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XAFailureException

public XAFailureException(Locker locker)
For internal use only.

Method Detail

wrapSelf

public OperationFailureException wrapSelf(String msg)
For internal use only.

Specified by:
wrapSelf in class OperationFailureException


Copyright (c) 2004-2012 Oracle. All rights reserved.