View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.sftp.notification;
8   
9   import org.mule.api.exception.SystemExceptionHandler;
10  import org.mule.routing.filters.WildcardFilter;
11  
12  import org.slf4j.Logger;
13  import org.slf4j.LoggerFactory;
14  
15  public class ExceptionListener implements SystemExceptionHandler
16  {
17      private static final Logger logger = LoggerFactory.getLogger(ExceptionListener.class);
18  
19      public void handleException(Exception e)
20      {
21          logger.debug(e.getLocalizedMessage());
22      }
23  
24      public WildcardFilter getCommitTxFilter()
25      {
26          return null;
27      }
28  
29      public WildcardFilter getRollbackTxFilter()
30      {
31          return null;
32      }
33  
34  }