1 package org.jbpm.graph.def; 2 3 import org.jbpm.graph.exe.*; 4 5 public class DelegationException extends RuntimeException { 6 7 private static final long serialVersionUID = 1L; 8 9 protected Throwable cause = null; 10 protected ExecutionContext executionContext = null; 11 12 public DelegationException(Throwable 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 getCause() { 22 return cause; 23 } 24 } 25 | Popular Tags |