• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/java/src/com/sleepycat/db/
1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 1997-2009 Oracle.  All rights reserved.
5 *
6 * $Id$
7 */
8package com.sleepycat.db;
9
10import com.sleepycat.db.internal.DbEnv;
11
12/**
13Thrown when a database handle has been invalidated because a replication
14election unrolled a committed transaction.
15When this happens the handle is no longer able to be used and the application
16must close the handle using the {@link com.sleepycat.db.Database#close Database.close} method and open a new
17handle. This exception is thrown when a client unrolls a transaction in order
18to synchronize with a new master. If the application was permitted to use the
19original handle, it's possible the handle might attempt to access nonexistent
20resources.
21*/
22public class ReplicationHandleDeadException extends DatabaseException {
23    /* package */ ReplicationHandleDeadException(final String s,
24                                   final int errno,
25                                   final DbEnv dbenv) {
26        super(s, errno, dbenv);
27    }
28}
29