org.mule.umo
Interface UMOExceptionStrategy

All Known Implementing Classes:
DefaultExceptionStrategy

public interface UMOExceptionStrategy

UMOExceptionStrategy is a strategy class used for customising the behaviour of exception handling in different components in the system.

Version:
$Revision: 1.2 $
Author:
Ross Mason

Method Summary
 UMOEndpoint getEndpoint()
           
 void handleException(java.lang.Object message, java.lang.Throwable t)
          This is called when an exception occurs.
 void setEndpoint(UMOEndpoint exceptionEndpoint)
           
 

Method Detail

handleException

public void handleException(java.lang.Object message,
                            java.lang.Throwable t)
This is called when an exception occurs. By implementing this you can provide different stratgies for handling exceptions

Parameters:
message - Can be anthing, but is usually The message being processed when the exception occurred. The message could be an event and implmenting methods should expect that an UMOEvent maybe passed to this method from the framework.
t - The Throwable exception that occurred

getEndpoint

public UMOEndpoint getEndpoint()

setEndpoint

public void setEndpoint(UMOEndpoint exceptionEndpoint)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.