openr66.protocol.exception
Class OpenR66ExceptionTrappedFactory

java.lang.Object
  extended by openr66.protocol.exception.OpenR66ExceptionTrappedFactory

public class OpenR66ExceptionTrappedFactory
extends Object

Class that filter exceptions

Author:
frederic bregier

Constructor Summary
OpenR66ExceptionTrappedFactory()
           
 
Method Summary
static OpenR66Exception getExceptionFromTrappedException(org.jboss.netty.channel.Channel channel, org.jboss.netty.channel.ExceptionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenR66ExceptionTrappedFactory

public OpenR66ExceptionTrappedFactory()
Method Detail

getExceptionFromTrappedException

public static OpenR66Exception getExceptionFromTrappedException(org.jboss.netty.channel.Channel channel,
                                                                org.jboss.netty.channel.ExceptionEvent e)
Parameters:
channel -
e -
Returns:
the OpenR66Exception corresponding to the ExceptionEvent, or null if the exception should be ignored


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.