KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > graph > def > DelegationException


1 package org.jbpm.graph.def;
2
3 import org.jbpm.graph.exe.*;
4
5 public class DelegationException extends RuntimeException JavaDoc {
6   
7   private static final long serialVersionUID = 1L;
8
9   protected Throwable JavaDoc cause = null;
10   protected ExecutionContext executionContext = null;
11
12   public DelegationException(Throwable JavaDoc cause, ExecutionContext executionContext) {
13     this.cause = cause;
14     this.executionContext = executionContext;
15   }
16   
17   public ExecutionContext getExecutionContext() {
18     return executionContext;
19   }
20
21   public Throwable JavaDoc getCause() {
22     return cause;
23   }
24 }
25
Popular Tags