1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002, 2014 Oracle and/or its affiliates.  All rights reserved.
5  *
6  */
7 
8 package com.sleepycat.je.tree;
9 
10 /**
11  * Error to indicate that a bottom level BIN is not empty during a
12  * delete subtree operation.
13  */
14 public class NodeNotEmptyException extends Exception {
15 
16     private static final long serialVersionUID = 933349511L;
17 
18     /*
19      * Throw this static instance, in order to reduce the cost of
20      * fill in the stack trace.
21      */
22     public static final NodeNotEmptyException NODE_NOT_EMPTY =
23         new NodeNotEmptyException();
24 
25     /* Make the constructor public for serializability testing. */
NodeNotEmptyException()26     public NodeNotEmptyException() {
27     }
28 }
29