org.ikasan.framework.component
Class LoggingExceptionHandlerImpl
java.lang.Object
org.ikasan.framework.component.LoggingExceptionHandlerImpl
- All Implemented Interfaces:
- IkasanExceptionHandler
public class LoggingExceptionHandlerImpl
- extends Object
- implements IkasanExceptionHandler
Simple implementation of IkasanExceptionHandler, that simply logs the exception and returns a predefined
IkasanExceptionAction
- Author:
- Ikasan Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingExceptionHandlerImpl
public LoggingExceptionHandlerImpl()
invoke
public IkasanExceptionAction invoke(String componentName,
Event event,
Throwable throwable)
handleThrowable
public IkasanExceptionAction handleThrowable(String componentName,
Throwable throwable)
- Description copied from interface:
IkasanExceptionHandler
- Push an exception that occurred outside the scope of handling a data event to the Exception Handler
- Specified by:
handleThrowable in interface IkasanExceptionHandler
- Parameters:
componentName - name of the component within which the exception occurredthrowable - The exception
- Returns:
- IkasanExceptionAction
setErrorAction
public void setErrorAction(IkasanExceptionAction errorAction)
- Setter for errorAction, overrides the default
- Parameters:
errorAction -
Copyright © 2007-2012 Ikasan. All Rights Reserved.