01: package org.apache.ojb.otm.core;
02:
03: /* Copyright 2003-2005 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * 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.broker.OJBRuntimeException;
19:
20: /**
21: *
22: * Generic base exception for exception generated by OTMKit.
23: *
24: * @author <a href="mailto:rraghuram@hotmail.com">Raghu Rajah</a>
25: *
26: */
27: public class OTMGenericException extends OJBRuntimeException {
28:
29: /**
30: * Constructor for OTMGenericException.
31: */
32: public OTMGenericException() {
33: super ();
34: }
35:
36: /**
37: * Constructor for OTMGenericException.
38: * @param msg
39: */
40: public OTMGenericException(String msg) {
41: super (msg);
42: }
43:
44: /**
45: * Constructor for OTMGenericException.
46: * @param cause
47: */
48: public OTMGenericException(Throwable cause) {
49: super (cause);
50: }
51:
52: /**
53: * Constructor for OTMGenericException.
54: * @param msg
55: * @param cause
56: */
57: public OTMGenericException(String msg, Throwable cause) {
58: super(msg, cause);
59: }
60:
61: }
|