Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mule.umo.impl
Class DefaultExceptionStrategy  view DefaultExceptionStrategy download DefaultExceptionStrategy.java

java.lang.Object
  extended byorg.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 $

Field Summary
private static org.apache.commons.logging.Log log
          logger used by this class
private  org.mule.umo.UniversalMessageObject parent
          The parent to which the Exception handler belongs
 
Constructor Summary
DefaultExceptionStrategy()
          Default Constructor
DefaultExceptionStrategy(org.mule.umo.UniversalMessageObject parent)
          Constructor
 
Method Summary
 org.mule.umo.UniversalMessageObject getParent()
           
 java.lang.Throwable handleException(java.lang.Object message, java.lang.Throwable t)
          This is called when an exception occurs.
 void setParent(org.mule.umo.UniversalMessageObject parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

DefaultExceptionStrategy

public DefaultExceptionStrategy()
Default Constructor


DefaultExceptionStrategy

public DefaultExceptionStrategy(org.mule.umo.UniversalMessageObject parent)
Constructor

Method Detail

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