com.evelopers.unimod.adapter.standalone.provider
Class ExceptionEventProvider

java.lang.Object
  extended bycom.evelopers.unimod.adapter.standalone.provider.ExceptionEventProvider

public class ExceptionEventProvider
extends java.lang.Object

This event provider starts to listen to StateMachineEngine's exceptions on init(ModelEngine), hooks every exception, wraps it with parameter and sends it as an event to ModelEngine.


Field Summary
static java.lang.String E102
           
static java.lang.String EXCEPTION
           
 
Constructor Summary
ExceptionEventProvider()
           
 
Method Summary
 void dispose()
           
 void handleException(StateMachineContext context, com.evelopers.common.exception.SystemException e)
           
 void init(ModelEngine engine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

E102

public static final java.lang.String E102
See Also:
Constant Field Values

EXCEPTION

public static final java.lang.String EXCEPTION
See Also:
Constant Field Values
Constructor Detail

ExceptionEventProvider

public ExceptionEventProvider()
Method Detail

init

public void init(ModelEngine engine)

dispose

public void dispose()

handleException

public void handleException(StateMachineContext context,
                            com.evelopers.common.exception.SystemException e)