Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * See the file LICENSE for redistribution information.
  *
  * Copyright (c) 2002, 2013 Oracle and/or its affiliates.  All rights reserved.
  *
  */
 
 package com.sleepycat.je;
 
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
    private static final long serialVersionUID = 1;

    
For internal use only.

Hidden:
    public XAFailureException(Locker locker) {
        super(lockertrue /*abortOnly*/,
              "The TM_FAIL flag was passed to XAEnvironment.end().",
              null /*cause*/);
    }

    
For internal use only.

Hidden:
    private XAFailureException(String message,
                               XAFailureException cause) {
        super(messagecause);
    }

    
For internal use only.

Hidden:
    @Override
    public OperationFailureException wrapSelf(String msg) {
        return new XAFailureException(msgthis);
    }
New to GrepCode? Check out our FAQ X