01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * Software distributed under the License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11: * the License for the specific terms governing rights and limitations
12: * under the License.
13: *
14: * The Initial Developer of the Enhydra Application Server is Lutris
15: * Technologies, Inc. The Enhydra Application Server and portions created
16: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17: * All Rights Reserved.
18: *
19: * Contributor(s):
20: *
21: * $Id: KeywordValueException.java,v 1.2 2006-06-15 13:40:47 sinisa Exp $
22: */
23:
24: package com.lutris.util;
25:
26: /**
27: * Exception for errors accessing a KeywordValueTable object. The errors can
28: * include invalid keyword syntax and unknown keywords.
29: *
30: * @version $Revision: 1.2 $
31: * @author Mark Diekhans
32: * @since Jolt1.0
33: */
34: public class KeywordValueException extends Exception {
35: /**
36: * Constructs a new exception with the detail message.
37: *
38: * @param msg A detailed message describing the expection.
39: */
40: public KeywordValueException(String msg) {
41: super (msg);
42: }
43:
44: /**
45: * Constructs a new exception with the specified cause.
46: *
47: * @param cause The cause (which is saved for later retrieval by the
48: * Throwable.getCause() method).
49: * A null value is permitted, and indicates that the cause is
50: * nonexistent or unknown.
51: */
52: public KeywordValueException(Throwable cause) {
53: super (cause);
54: }
55:
56: /**
57: * Constructs a new exception with the specified cause and a detail message.
58: *
59: * @param msg A detailed message describing the expection.
60: * @param cause The cause (which is saved for later retrieval by the
61: * Throwable.getCause() method).
62: * A null value is permitted, and indicates that the cause is
63: * nonexistent or unknown.
64: */
65: public KeywordValueException(String msg, Throwable cause) {
66: super(msg, cause);
67: }
68:
69: }
|