KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > rm > HarmoniseRuntimeException


1 /*
2  * (C) Copyright SimulacraMedia 2003. All rights reserved.
3  *
4  *
5  */

6 package org.openharmonise.rm;
7
8 /**
9  * Abstract runtime exception class to be extended for specific
10  * runtime exceptions thrown within Harmonise.
11  *
12  * Note: Runtime exception are to be used only in rare cases where the error is caused by
13  * some programming error or some critical fault in the configuration of Harmonise.
14  *
15  * @author Michael Bell
16  * @version $Revision: 1.1 $
17  *
18  */

19 public abstract class HarmoniseRuntimeException extends RuntimeException JavaDoc {
20
21     /**
22      * Constructs an exception with no detail message and no cause.
23      */

24     public HarmoniseRuntimeException() {
25         super();
26     }
27
28     /**
29      * Constructs an exception with the specified detail message and no
30      * cause.
31      *
32      * @param s the detail message
33      */

34     public HarmoniseRuntimeException(String JavaDoc s) {
35         super(s);
36     }
37
38     /**
39      * Constructs an exception with the specified detail message and
40      * cause.
41      *
42      * @param s the detail message
43      * @param e the cause
44      */

45     public HarmoniseRuntimeException(String JavaDoc s, Throwable JavaDoc e) {
46         super(s, e);
47     }
48
49     /**
50      * Constructs a new exception with the specified cause and a
51      * detail message taken from the cause.
52      *
53      * @param cause the cause
54      */

55     public HarmoniseRuntimeException(Throwable JavaDoc cause) {
56         super(cause);
57     }
58
59 }
60
Popular Tags