KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > structural > OddjobChildException


1 package org.oddjob.structural;
2
3 import org.oddjob.OddjobException;
4
5 /**
6  * An exception which can be thrown by a Strutured node
7  * which is cascading a child exception upwards.
8  *
9  * @author Rob Gordon
10  */

11
12 public class OddjobChildException extends OddjobException {
13
14     /**
15      * Constructs a new oddjob exception with no message an no cause.
16      *
17      */

18     public OddjobChildException() {
19         super();
20     }
21
22     /**
23      * Constructs a new oddjob excpetion with the given message an cause.
24      *
25      * @param s The message.
26      * @param t The cause.
27      */

28     public OddjobChildException(String JavaDoc s, Throwable JavaDoc t) {
29         super(s, t);
30     }
31
32     /**
33      * Constructs a new Oddjob exception with the given cause.
34      *
35      * @param t The cause.
36      */

37     public OddjobChildException(Throwable JavaDoc t) {
38         super(t);
39     }
40
41     /**
42      * Constructs a new Oddjob exception with given message.
43      *
44      * @param s The message.
45      */

46     public OddjobChildException(String JavaDoc s) {
47         super(s);
48     }
49 }
50
Popular Tags