org.mule.transport.tcp
Class DefaultMessageExceptionPolicy
java.lang.Object
org.mule.transport.tcp.DefaultMessageExceptionPolicy
- All Implemented Interfaces:
- NextMessageExceptionPolicy
public class DefaultMessageExceptionPolicy
- extends Object
- implements NextMessageExceptionPolicy
An exception policy that returns null when the exception is thrown
- Since:
- 2.2.6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessageExceptionPolicy
public DefaultMessageExceptionPolicy()
handleException
public Object handleException(Exception exception,
TcpMessageReceiver receiver,
TcpMessageReceiver.TcpWorker worker)
throws Exception
- Handles the exception thrown while processing the next message
- Specified by:
handleException in interface NextMessageExceptionPolicy
- Parameters:
exception - the exception thrownreceiver - the tcp message receiver
- Returns:
- the result of processing the exception
- Throws:
Exception - while processing the exception
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.