com.sleepycat.je.dbi
Class OperationAbortException

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.dbi.OperationAbortException
All Implemented Interfaces:
Serializable

public class OperationAbortException
extends OperationFailureException

Thrown by Txn.markDeleteAtTxnEnd, if the deletedDatabases contains the same database with different deleteAtCommit variables. This case will happen if doing truncateDatabase and removeDatabase operations on the same database in the same txn.

See Also:
Serialized Form

Constructor Summary
OperationAbortException(Locker locker, String message)
          For internal use only.
 
Method Summary
 OperationAbortException 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

OperationAbortException

public OperationAbortException(Locker locker,
                               String message)
For internal use only.

Method Detail

wrapSelf

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

Specified by:
wrapSelf in class OperationFailureException


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