View Javadoc

1   /**
2    *  Copyright 2003-2006 Greg Luck
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   */
16  
17  
18  package net.sf.ehcache;
19  
20  /**
21   * Thrown when a duplicate cache is attemtpted to be created
22   *
23   * @author Greg Luck, Claus Ibsen
24   * @version $Id: ObjectExistsException.java 52 2006-04-24 14:50:03Z gregluck $
25   */
26  public final class ObjectExistsException extends CacheException {
27  
28      /**
29       * Constructor for the ObjectExistsException object.
30       */
31      public ObjectExistsException() {
32          super();
33      }
34  
35  
36      /**
37       * Constructor for the ObjectExistsException object.
38       *
39       * @param message
40       */
41      public ObjectExistsException(String message) {
42          super(message);
43      }
44  
45  }