01: package org.enhydra.shark.api.internal.eventaudit;
02:
03: import org.enhydra.shark.api.RootException;
04:
05: /**
06: * Class EventAuditException indicates exceptional condition occurring in persistence
07: * layer, ie. failing transaction.
08: *
09: * @version 1.0
10: */
11: public class EventAuditException extends RootException {
12: /**
13: * Constructs a new exception with the specified detail message.
14: *
15: * @param message the detail message for new EventAuditException.
16: */
17: public EventAuditException(String message) {
18: super (message);
19: }
20:
21: /**
22: * Constructs a new exception with cause for throwable. Message is created by super
23: * constructor (java.lang.Exception), if cause isn't null - cause.toString().
24: *
25: * @param cause Throwable which caused this EventAuditException.
26: */
27: public EventAuditException(Throwable cause) {
28: super (cause);
29: }
30:
31: /**
32: * Constructs a new exception with the specified detail message and cause.
33: *
34: * @param message the detail message for new EventAuditException.
35: * @param cause Throwable which caused this EventAuditException.
36: */
37: public EventAuditException(String message, Throwable cause) {
38: super(message, cause);
39: }
40: }
|