org.mule.api.exception
Interface SystemExceptionHandler

All Known Implementing Classes:
DefaultSystemExceptionStrategy

public interface SystemExceptionHandler

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


Method Summary
 WildcardFilter getCommitTxFilter()
          Returns the filter that given an exception class will determine if a transaction should be committed or not.
 WildcardFilter getRollbackTxFilter()
          Returns the filter that given an exception class will determine if a transaction should be rollbacked or not.
 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).
 

Method Detail

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

getCommitTxFilter

WildcardFilter getCommitTxFilter()
Returns the filter that given an exception class will determine if a transaction should be committed or not.

Returns:
the exception filter configured for commit of transactions or null if there is no filter.

getRollbackTxFilter

WildcardFilter getRollbackTxFilter()
Returns the filter that given an exception class will determine if a transaction should be rollbacked or not.

Returns:
the exception filter configured for rollback of transactions or null if there is no filter.


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