KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > eventaudit > EventAuditException


1
2
3 package org.enhydra.shark.api.internal.eventaudit;
4
5
6
7 import org.enhydra.shark.api.RootException;
8
9
10
11 /**
12
13  * Class EventAuditException indicates exceptional condition
14
15  * occurring in persistence layer, ie. failing transaction.
16
17  *
18
19  * @version 1.0
20
21  */

22
23 public class EventAuditException extends RootException {
24
25
26
27    /**
28
29      * Constructs a new exception with the specified detail message.
30
31      *
32
33      * @param message the detail message for new EventAuditException.
34
35      */

36
37     public EventAuditException(String JavaDoc message) {
38
39         super(message);
40
41     }
42
43
44
45     /**
46
47      * Constructs a new exception with cause for throwable.
48
49      * Message is created by super constructor (java.lang.Exception),
50
51      * if cause isn't null - cause.toString().
52
53      *
54
55      * @param cause Throwable which caused this EventAuditException.
56
57      */

58
59     public EventAuditException(Throwable JavaDoc cause) {
60
61       super(cause);
62
63     }
64
65
66
67     /**
68
69      * Constructs a new exception with the specified detail
70
71      * message and cause.
72
73      *
74
75      * @param message the detail message for new EventAuditException.
76
77      * @param cause Throwable which caused this EventAuditException.
78
79      */

80
81     public EventAuditException(String JavaDoc message, Throwable JavaDoc cause) {
82
83       super(message, cause);
84
85     }
86
87 }
88
89
Popular Tags