KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lutris > util > KeywordValueException


1
2 /*
3  * Enhydra Java Application Server Project
4  *
5  * The contents of this file are subject to the Enhydra Public License
6  * Version 1.1 (the "License"); you may not use this file except in
7  * compliance with the License. You may obtain a copy of the License on
8  * the Enhydra web site ( http://www.enhydra.org/ ).
9  *
10  * Software distributed under the License is distributed on an "AS IS"
11  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
12  * the License for the specific terms governing rights and limitations
13  * under the License.
14  *
15  * The Initial Developer of the Enhydra Application Server is Lutris
16  * Technologies, Inc. The Enhydra Application Server and portions created
17  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
18  * All Rights Reserved.
19  *
20  * Contributor(s):
21  *
22  * $Id: KeywordValueException.java,v 1.1 2005/07/13 11:09:06 slobodan Exp $
23  */

24
25
26
27
28
29 package com.lutris.util;
30
31 /**
32  * Exception for errors accessing a KeywordValueTable object. The errors can
33  * include invalid keyword syntax and unknown keywords.
34  *
35  * @version $Revision: 1.1 $
36  * @author Mark Diekhans
37  * @since Jolt1.0
38  */

39 public class KeywordValueException extends Exception JavaDoc {
40     /**
41      * Constructs a new exception with the detail message.
42      *
43      * @param msg A detailed message describing the expection.
44      */

45     public KeywordValueException (String JavaDoc msg) {
46         super (msg);
47     }
48
49     /**
50      * Constructs a new exception with the specified cause.
51      *
52      * @param cause The cause (which is saved for later retrieval by the
53      * Throwable.getCause() method).
54      * A null value is permitted, and indicates that the cause is
55      * nonexistent or unknown.
56      */

57     public KeywordValueException (Throwable JavaDoc cause) {
58         super (cause);
59     }
60
61     /**
62      * Constructs a new exception with the specified cause and a detail message.
63      *
64      * @param msg A detailed message describing the expection.
65      * @param cause The cause (which is saved for later retrieval by the
66      * Throwable.getCause() method).
67      * A null value is permitted, and indicates that the cause is
68      * nonexistent or unknown.
69      */

70     public KeywordValueException (String JavaDoc msg, Throwable JavaDoc cause) {
71         super (msg,cause);
72     }
73
74 }
75
Popular Tags