1
2
3
4
5
6
7
8
9
10
11 package org.mule.providers.ftp;
12
13 import org.mule.impl.AbstractExceptionListener;
14 import org.mule.umo.UMOMessage;
15 import org.mule.umo.endpoint.UMOImmutableEndpoint;
16
17 import org.apache.commons.logging.Log;
18 import org.apache.commons.logging.LogFactory;
19
20 public class DebugExceptionStrategy extends AbstractExceptionListener
21 {
22
23 protected transient Log logger = LogFactory.getLog(getClass());
24
25 public void handleMessagingException(UMOMessage message, Throwable e)
26 {
27 logger.debug("Ignoring", e);
28 }
29
30 public void handleRoutingException(UMOMessage message, UMOImmutableEndpoint endpoint, Throwable e)
31 {
32 logger.debug("Ignoring", e);
33 }
34
35 public void handleLifecycleException(Object component, Throwable e)
36 {
37 logger.debug("Ignoring", e);
38 }
39
40 public void handleStandardException(Throwable e)
41 {
42 logger.debug("Ignoring", e);
43 }
44
45 }