org.mule.transport.tcp
Class DefaultMessageExceptionPolicy

java.lang.Object
  extended by 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

Constructor Summary
DefaultMessageExceptionPolicy()
           
 
Method Summary
 Object handleException(Exception exception, TcpMessageReceiver receiver, TcpMessageReceiver.TcpWorker worker)
          Handles the exception thrown while processing the next message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessageExceptionPolicy

public DefaultMessageExceptionPolicy()
Method Detail

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 thrown
receiver - 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.