Berkeley DB
version 4.7.25

com.sleepycat.db
Class ReplicationHandleDeadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sleepycat.db.DatabaseException
              extended by com.sleepycat.db.ReplicationHandleDeadException
All Implemented Interfaces:
Serializable

public class ReplicationHandleDeadException
extends DatabaseException

Thrown when a database handle has been invalidated because a replication election unrolled a committed transaction. When this happens the handle is no longer able to be used and the application must close the handle using the Database.close method and open a new handle. This exception is thrown when a client unrolls a transaction in order to synchronize with a new master. If the application was permitted to use the original handle, it's possible the handle might attempt to access nonexistent resources.

See Also:
Serialized Form

Method Summary
 
Methods inherited from class com.sleepycat.db.DatabaseException
getEnvironment, getErrno, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 


Berkeley DB
version 4.7.25

Copyright (c) 1996,2008 Oracle. All rights reserved.