1
2
3
4
5
6
7 package org.mule.tck.functional;
8
9 import org.mule.api.MuleEvent;
10 import org.mule.exception.AbstractMessagingExceptionStrategy;
11
12 import org.apache.commons.logging.Log;
13 import org.apache.commons.logging.LogFactory;
14
15
16
17
18 public class QuietExceptionStrategy extends AbstractMessagingExceptionStrategy
19 {
20 protected transient Log logger = LogFactory.getLog(getClass());
21
22 @Override
23 protected void doHandleException(Exception e, MuleEvent event)
24 {
25 logger.debug("Ignoring", e);
26 }
27
28 @Override
29 protected void logException(Throwable t)
30 {
31 logger.debug("Ignoring", t);
32 }
33 }