01 /*
02 * IndexException.java
03 *
04 * Niraj Aswani, 19/March/07
05 *
06 * $Id: IndexException.html,v 1.0 2007/03/19 16:22:01 niraj Exp $
07 */
08 package gate.creole.annic;
09
10 /**
11 * Exception that should be thrown should something unexpected happens
12 * during creating/updating/deleting index.
13 *
14 * @author niraj
15 *
16 */
17 public class IndexException extends Exception {
18
19 /**
20 * serial version id
21 */
22 private static final long serialVersionUID = 3257288036893931833L;
23
24 /** Consructor of the class. */
25 public IndexException(String msg) {
26 super(msg);
27 }
28
29 public IndexException(Throwable t) {
30 super(t);
31 }
32
33 }
|