org.mule.transport.tcp
Interface NextMessageExceptionPolicy

All Known Implementing Classes:
DefaultMessageExceptionPolicy, RewriteMessageExceptionPolicy

public interface NextMessageExceptionPolicy

An exception policy that is called when an exception is thrown while processing the next message

Since:
2.2.6

Method Summary
 Object handleException(Exception exception, TcpMessageReceiver receiver, TcpMessageReceiver.TcpWorker worker)
          Handles the exception thrown while processing the next message
 

Method Detail

handleException

Object handleException(Exception exception,
                       TcpMessageReceiver receiver,
                       TcpMessageReceiver.TcpWorker worker)
                       throws Exception
Handles the exception thrown while processing the next message

Parameters:
exception - the exception thrown
receiver - the tcp message receiver
expirable - the tcp worker that is processing the message
Returns:
the result of processing the exception
Throws:
Exception - while processing the exception


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.