org.jbpm.graph.def
Class ExceptionHandler

java.lang.Object
  extended by org.jbpm.graph.def.ExceptionHandler
All Implemented Interfaces:
Serializable

public class ExceptionHandler
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  List actions
           
protected  String exceptionClassName
           
protected  GraphElement graphElement
           
 
Constructor Summary
ExceptionHandler()
           
 
Method Summary
 void addAction(Action action)
           
 List getActions()
           
 String getExceptionClassName()
           
 GraphElement getGraphElement()
           
 void handleException(GraphElement graphElement, ExecutionContext executionContext)
           
 boolean matches(Throwable exception)
           
 void removeAction(Action action)
           
 void reorderAction(int oldIndex, int newIndex)
           
 void setExceptionClassName(String exceptionClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionClassName

protected String exceptionClassName

graphElement

protected GraphElement graphElement

actions

protected List actions
Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

matches

public boolean matches(Throwable exception)

handleException

public void handleException(GraphElement graphElement,
                            ExecutionContext executionContext)
                     throws Exception
Throws:
Exception

getActions

public List getActions()

addAction

public void addAction(Action action)

removeAction

public void removeAction(Action action)

reorderAction

public void reorderAction(int oldIndex,
                          int newIndex)

getExceptionClassName

public String getExceptionClassName()

setExceptionClassName

public void setExceptionClassName(String exceptionClassName)

getGraphElement

public GraphElement getGraphElement()


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.