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 Index could not be created.
26: *
27: * @author Michael Franken
28: * @version $Revision: 1.9 $
29: *
30: * @see org.zilverline.core.FileSystemCollection
31: */
32: public class IndexException extends Exception {
33: /**
34: * The <code>serialVersionUID</code>.
35: */
36: private static final long serialVersionUID = 3257853185938044983L;
37:
38: /**
39: * Constructs a <code>IndexException</code> with the specified message and no root cause.
40: *
41: * @param msg the detail message.
42: */
43: public IndexException(final String msg) {
44: super (msg);
45: }
46:
47: /**
48: * Constructs a <code>IndexException</code> with the specified message and root cause.
49: *
50: * @param msg the detail message.
51: * @param t the root cause
52: */
53: public IndexException(final String msg, final Throwable t) {
54: super(msg, t);
55: }
56: }
|