KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > otm > states > IllegalObjectStateException


1 package org.apache.ojb.otm.states;
2
3 /* Copyright 2003-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 import org.apache.ojb.otm.core.OTMGenericException;
19
20 /**
21  *
22  * Exception on illegal object state.
23  *
24  */

25 public class IllegalObjectStateException extends OTMGenericException
26 {
27
28     /**
29      * Constructor for IllegalObjectStateException.
30      */

31     public IllegalObjectStateException()
32     {
33         super();
34     }
35
36     /**
37      * Constructor for IllegalObjectStateException.
38      * @param msg
39      */

40     public IllegalObjectStateException(String JavaDoc msg)
41     {
42         super(msg);
43     }
44
45     /**
46      * Constructor for IllegalObjectStateException.
47      * @param cause
48      */

49     public IllegalObjectStateException(Throwable JavaDoc cause)
50     {
51         super(cause);
52     }
53
54     /**
55      * Constructor for IllegalObjectStateException.
56      * @param msg
57      * @param cause
58      */

59     public IllegalObjectStateException(String JavaDoc msg, Throwable JavaDoc cause)
60     {
61         super(msg, cause);
62     }
63
64 }
65
Popular Tags