ConversationDeath.java :  » Workflow-Engines » Dalma » dalma » Java Open Source

Java Open Source » Workflow Engines » Dalma 
Dalma » dalma » ConversationDeath.java
package dalma;

/**
 * Signals a irrecoverable death of a conversation.
 *
 * <p>
 * This error happens typically when there was an error while
 * persisting/restoring the state of the conversation.
 *
 * @author Kohsuke Kawaguchi
 */
public class ConversationDeath extends Error {

    private Throwable cause;

    public ConversationDeath(String message,Throwable cause) {
        super(message);
        this.cause = cause;
    }

    public Throwable getCause() {
        return cause;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.