01: package dalma;
02:
03: /**
04: * Signals a irrecoverable death of a conversation.
05: *
06: * <p>
07: * This error happens typically when there was an error while
08: * persisting/restoring the state of the conversation.
09: *
10: * @author Kohsuke Kawaguchi
11: */
12: public class ConversationDeath extends Error {
13:
14: private Throwable cause;
15:
16: public ConversationDeath(String message, Throwable cause) {
17: super (message);
18: this .cause = cause;
19: }
20:
21: public Throwable getCause() {
22: return cause;
23: }
24: }
|