1
2
3
4
5
6
7
8
9
10
11 package org.mule.module.xml.functional;
12
13 import java.beans.ExceptionListener;
14
15 import org.apache.commons.logging.Log;
16 import org.apache.commons.logging.LogFactory;
17
18 public class HideExceptions implements ExceptionListener
19 {
20
21 protected transient Log logger = LogFactory.getLog(getClass());
22
23 public void exceptionThrown(Exception e)
24 {
25 logger.debug("Hiding exception: " + e);
26 logger.debug("(see config for test - some exceptions expected)");
27 }
28
29 }
30