01: package org.drools;
02:
03: /*
04: * Copyright 2005 JBoss Inc
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * The base Drools exception for all internal thrown exceptions. If any exceptions are thrown during the
21: * runtime execution of Drools they are considered non-recoverable and thus thrown as Runtime exceptions
22: * all the way up to the <Code>WorkingMemory</code> at which point they are nested inside the
23: * <code>CheckedDroolsException</code> for the user to decide how to respond.
24: *
25: * @see RuntimeException
26: *
27: * @author <a href="mailto:mark.proctor@jboss.com">Mark Proctor</a>
28: * @author <a href="mailto:bob@werken.com">Bob McWhirter</a>
29: */
30: public class RuntimeDroolsException extends RuntimeException {
31: /**
32: *
33: */
34: private static final long serialVersionUID = 400L;
35:
36: /**
37: * @see java.lang.Exception#Exception()
38: */
39: public RuntimeDroolsException() {
40: super ();
41: }
42:
43: /**
44: * @see java.lang.Exception#Exception(String message)
45: */
46: public RuntimeDroolsException(final String message) {
47: super (message);
48: }
49:
50: /**
51: * @see java.lang.Exception#Exception(String message, Throwable cause)
52: */
53: public RuntimeDroolsException(final String message,
54: final Throwable cause) {
55: super (message, cause);
56: }
57:
58: /**
59: * @see java.lang.Exception#Exception(Throwable cause)
60: */
61: public RuntimeDroolsException(final Throwable cause) {
62: super(cause);
63: }
64:
65: }
|