java.lang.Object
org.mule.umo.impl.DefaultExceptionStrategy
- All Implemented Interfaces:
- org.mule.umo.UMOExceptionStrategy
- public class DefaultExceptionStrategy
- extends java.lang.Object
- implements org.mule.umo.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.6 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static transient org.apache.commons.logging.Log log
- logger used by this class
parent
private org.mule.umo.UniversalMessageObject parent
- The parent to which the Exception handler belongs
DefaultExceptionStrategy
public DefaultExceptionStrategy()
- Default Constructor
DefaultExceptionStrategy
public DefaultExceptionStrategy(org.mule.umo.UniversalMessageObject parent)
- Constructor
handleException
public java.lang.Throwable handleException(java.lang.Object message,
java.lang.Throwable t)
- Description copied from interface:
org.mule.umo.UMOExceptionStrategy
- This is called when an exception occurs. By implementing this you can provide different stratgies
for handling exceptions
- Specified by:
handleException in interface org.mule.umo.UMOExceptionStrategy
setParent
public void setParent(org.mule.umo.UniversalMessageObject parent)
- Specified by:
setParent in interface org.mule.umo.UMOExceptionStrategy
getParent
public org.mule.umo.UniversalMessageObject getParent()
- Specified by:
getParent in interface org.mule.umo.UMOExceptionStrategy