org.mule.tck.functional
Class QuietExceptionStrategy

java.lang.Object
  extended by org.mule.processor.AbstractMessageProcessorOwner
      extended by org.mule.exception.AbstractExceptionListener
          extended by org.mule.exception.AbstractMessagingExceptionStrategy
              extended by org.mule.tck.functional.QuietExceptionStrategy
All Implemented Interfaces:
FlowConstructAware, MuleContextAware, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable

public class QuietExceptionStrategy
extends AbstractMessagingExceptionStrategy

Restrict exceptions to debug log messages


Field Summary
protected  Log logger
           
 
Fields inherited from class org.mule.exception.AbstractExceptionListener
commitTxFilter, enableNotifications, initialised, messageProcessors, rollbackTxFilter
 
Fields inherited from class org.mule.processor.AbstractMessageProcessorOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
QuietExceptionStrategy()
           
 
Method Summary
protected  void doHandleException(Exception e, MuleEvent event)
           
protected  void logException(Throwable t)
          Used to log the error passed into this Exception Listener
 
Methods inherited from class org.mule.exception.AbstractMessagingExceptionStrategy
commit, defaultHandler, handleException, rollback
 
Methods inherited from class org.mule.exception.AbstractExceptionListener
addEndpoint, closeStream, doInitialise, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, handleTransaction, initialise, isEnableNotifications, isInitialised, isRollback, logFatal, removeMessageProcessor, rollbackTransaction, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
dispose, setFlowConstruct, setMuleContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.exception.MessagingExceptionHandler
getCommitTxFilter, getRollbackTxFilter
 

Field Detail

logger

protected transient Log logger
Constructor Detail

QuietExceptionStrategy

public QuietExceptionStrategy()
Method Detail

doHandleException

protected void doHandleException(Exception e,
                                 MuleEvent event)
Overrides:
doHandleException in class AbstractMessagingExceptionStrategy

logException

protected void logException(Throwable t)
Description copied from class: AbstractExceptionListener
Used to log the error passed into this Exception Listener

Overrides:
logException in class AbstractExceptionListener
Parameters:
t - the exception thrown


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.