org.mule.exception
Class DefaultSystemExceptionStrategy
java.lang.Object
org.mule.processor.AbstractMessageProcessorOwner
org.mule.exception.AbstractExceptionListener
org.mule.exception.DefaultSystemExceptionStrategy
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, SystemExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable
public class DefaultSystemExceptionStrategy
- extends AbstractExceptionListener
- implements SystemExceptionHandler
Log exception, fire a notification, and clean up transaction if any.
Method Summary |
void |
handleException(Exception e)
Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred). |
Methods inherited from class org.mule.exception.AbstractExceptionListener |
addEndpoint, closeStream, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSystemExceptionStrategy
public DefaultSystemExceptionStrategy()
- Deprecated. Use DefaultSystemExceptionStrategy(MuleContext muleContext) instead
- For IoC only
DefaultSystemExceptionStrategy
public DefaultSystemExceptionStrategy(MuleContext muleContext)
handleException
public void handleException(Exception e)
- Description copied from interface:
SystemExceptionHandler
- Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).
- Specified by:
handleException
in interface SystemExceptionHandler
- Parameters:
e
- which occurred
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.