01 /*
02 * SearchException.java
03 *
04 * Niraj Aswani, 19/March/07
05 *
06 * $Id: SearchException.html,v 1.0 2007/03/19 16:22:01 niraj Exp $
07 */
08 package gate.creole.annic;
09
10 /**
11 * This exception should be thrown should anything unexpectable happens
12 * during search.
13 *
14 * @author niraj
15 *
16 */
17 public class SearchException extends Exception {
18
19 /**
20 * serial vrsion ID
21 */
22 private static final long serialVersionUID = 3257564010017798201L;
23
24 /** Consructor of the class. */
25 public SearchException(String msg) {
26 super(msg);
27 }
28
29 /**
30 * Constructor
31 * @param exception
32 */
33 public SearchException(Throwable exception) {
34 super(exception);
35 }
36 }
|