org.mule.api.exception
Interface SystemExceptionHandler

All Superinterfaces:
ExceptionHandler
All Known Implementing Classes:
AbstractSystemExceptionStrategy, DefaultSystemExceptionStrategy

public interface SystemExceptionHandler
extends ExceptionHandler

Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).


Method Summary
 void handleException(Exception exception)
          Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).
 void handleException(Exception exception, RollbackSourceCallback rollbackMethod)
          Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).
 

Method Detail

handleException

void handleException(Exception exception,
                     RollbackSourceCallback rollbackMethod)
Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).

Parameters:
exception - which occurred
rollbackMethod - will be called if transactions are not used in order to achieve atomic message delivery

handleException

void handleException(Exception exception)
Take some action when a system exception has occurred (i.e., there was no message in play when the exception occurred).

Parameters:
exception - which occurred


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.