org.mule.tck.functional
Class QuietExceptionStrategy

java.lang.Object
  extended by org.mule.AbstractExceptionListener
      extended by org.mule.tck.functional.QuietExceptionStrategy
All Implemented Interfaces:
ExceptionListener, MuleContextAware, Disposable, Initialisable

public class QuietExceptionStrategy
extends AbstractExceptionListener

Restrict exceptions to debug log messages


Field Summary
protected  Log logger
           
 
Fields inherited from class org.mule.AbstractExceptionListener
commitTxFilter, enableNotifications, endpoints, initialised, muleContext, rollbackTxFilter
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
QuietExceptionStrategy()
           
 
Method Summary
 void handleLifecycleException(Object component, Throwable e)
           
 void handleMessagingException(MuleMessage message, Throwable e)
           
 void handleRoutingException(MuleMessage message, ImmutableEndpoint endpoint, Throwable e)
           
 void handleStandardException(Throwable e)
           
 
Methods inherited from class org.mule.AbstractExceptionListener
addEndpoint, closeStream, dispose, doInitialise, exceptionThrown, fireNotification, getCommitTxFilter, getEndpoints, getEndpoints, getErrorMessagePayload, getExceptionType, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, logException, logFatal, removeEndpoint, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setEndpoints, setMuleContext, setRollbackTxFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
Constructor Detail

QuietExceptionStrategy

public QuietExceptionStrategy()
Method Detail

handleMessagingException

public void handleMessagingException(MuleMessage message,
                                     Throwable e)
Specified by:
handleMessagingException in class AbstractExceptionListener

handleRoutingException

public void handleRoutingException(MuleMessage message,
                                   ImmutableEndpoint endpoint,
                                   Throwable e)
Specified by:
handleRoutingException in class AbstractExceptionListener

handleLifecycleException

public void handleLifecycleException(Object component,
                                     Throwable e)
Specified by:
handleLifecycleException in class AbstractExceptionListener

handleStandardException

public void handleStandardException(Throwable e)
Specified by:
handleStandardException in class AbstractExceptionListener


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.