KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > OddjobException


1 package org.oddjob;
2
3 /**
4  * An exception to be used by Oddjob jobs.
5  *
6  * @author Rob Gordon
7  */

8
9 public class OddjobException extends RuntimeException JavaDoc {
10
11     /**
12      * Constructs a new oddjob exception with no message an no cause.
13      *
14      */

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

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

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

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