org.mule.transport.tcp
Class RewriteMessageExceptionPolicy
java.lang.Object
org.mule.transport.tcp.RewriteMessageExceptionPolicy
- All Implemented Interfaces:
- NextMessageExceptionPolicy
public class RewriteMessageExceptionPolicy
- extends Object
- implements NextMessageExceptionPolicy
An exception policy that rewrites the exception
- Since:
- 2.2.6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RewriteMessageExceptionPolicy
public RewriteMessageExceptionPolicy()
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
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.