01: /*
02: * Copyright 2003-2004 Michael Franken, Zilverline.
03: *
04: * The contents of this file, or the files included with this file, are subject to
05: * the current version of ZILVERLINE Collaborative Source License for the
06: * Zilverline Search Engine (the "License"); You may not use this file except in
07: * compliance with the License.
08: *
09: * You may obtain a copy of the License at
10: *
11: * http://www.zilverline.org.
12: *
13: * See the License for the rights, obligations and
14: * limitations governing use of the contents of the file.
15: *
16: * The Original and Upgraded Code is the Zilverline Search Engine. The developer of
17: * the Original and Upgraded Code is Michael Franken. Michael Franken owns the
18: * copyrights in the portions it created. All Rights Reserved.
19: *
20: */
21:
22: package org.zilverline.core;
23:
24: /**
25: * An exception that indicates an Collection can not be searched.
26: *
27: * @author Michael Franken
28: * @version $Revision: 1.4 $
29: *
30: */
31: public class SearchException extends Exception {
32: /**
33: * The <code>serialVersionUID</code>.
34: */
35: private static final long serialVersionUID = 3689909587113752889L;
36:
37: /**
38: * Constructs a <code>IndexException</code> with the specified message and no root cause.
39: *
40: * @param msg the detail message.
41: */
42: public SearchException(final String msg) {
43: super (msg);
44: }
45:
46: /**
47: * Constructs a <code>IndexException</code> with the specified message and root cause.
48: *
49: * @param msg the detail message.
50: * @param t the root cause
51: */
52: public SearchException(final String msg, final Throwable t) {
53: super(msg, t);
54: }
55: }
|