org.webbitserver.handler.exceptions
Class SilentExceptionHandler

java.lang.Object
  extended by org.webbitserver.handler.exceptions.SilentExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

public class SilentExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler

Exception handler that does nothing. Exceptions are silently discarded.

See Also:
Endpoint.connectionExceptionHandler(java.lang.Thread.UncaughtExceptionHandler), Endpoint.uncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)

Constructor Summary
SilentExceptionHandler()
           
 
Method Summary
 void uncaughtException(Thread t, Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentExceptionHandler

public SilentExceptionHandler()
Method Detail

uncaughtException

public void uncaughtException(Thread t,
                              Throwable e)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler


Copyright © 2013. All Rights Reserved.