org.pm4j.core.pm.impl
Interface PmExceptionHandler

All Known Implementing Classes:
PmExceptionHandlerImpl

public interface PmExceptionHandler

Interface for application specific exception handling.

Author:
olaf boede

Method Summary
 org.pm4j.navi.NaviLink onException(PmObject pmObject, java.lang.Throwable throwable, boolean inNaviContext)
          Will be called whenever the execution of an action failed with an exception.
 

Method Detail

onException

org.pm4j.navi.NaviLink onException(PmObject pmObject,
                                   java.lang.Throwable throwable,
                                   boolean inNaviContext)
Will be called whenever the execution of an action failed with an exception.

Parameters:
pmObject - On this object the action was executed.
throwable - The exception thrown during action execution.
inNaviContext - Indicates if the returned navigation string may be considered by the framework in the current exception situation.
Returns:
A navigation string or null for no special navigation.