org.mule.impl
Class DefaultExceptionStrategy
java.lang.Object
org.mule.impl.DefaultExceptionStrategy
- All Implemented Interfaces:
- UMOExceptionStrategy
- Direct Known Subclasses:
- DefaultComponentExceptionStrategy
- public class DefaultExceptionStrategy
- extends java.lang.Object
- implements UMOExceptionStrategy
DefaultExceptionStrategy
Provides a default exception handling strategy. The class final thus to
change exception handling behaviour the user must reimplemented the ExceptionListener Interface
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
Field Summary |
protected static Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
DefaultExceptionStrategy
public DefaultExceptionStrategy()
getEndpoint
public UMOEndpoint getEndpoint()
- Specified by:
getEndpoint
in interface UMOExceptionStrategy
setEndpoint
public void setEndpoint(UMOEndpoint exceptionEndpoint)
- Specified by:
setEndpoint
in interface UMOExceptionStrategy
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
- Specified by:
handleException
in interface UMOExceptionStrategy
- 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
routeException
protected void routeException(java.lang.Object message,
java.lang.Throwable t)
throws UMOException
- Throws:
UMOException
handleTransaction
protected void handleTransaction(UMOTransaction tx)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.