org.tinygroup.exceptionhandler.impl
Class ExceptionHandlerManagerImpl

java.lang.Object
  extended by org.tinygroup.exceptionhandler.impl.ExceptionHandlerManagerImpl
All Implemented Interfaces:
ExceptionHandlerManager

public class ExceptionHandlerManagerImpl
extends Object
implements ExceptionHandlerManager


Field Summary
 
Fields inherited from interface org.tinygroup.exceptionhandler.ExceptionHandlerManager
MANAGER_BEAN
 
Constructor Summary
ExceptionHandlerManagerImpl()
           
 
Method Summary
 void addHandler(String exception, ExceptionHandler handler)
           
 boolean handle(Throwable e, Event event)
           
 boolean handleWithAllHandler(Throwable e, Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerManagerImpl

public ExceptionHandlerManagerImpl()
Method Detail

addHandler

public void addHandler(String exception,
                       ExceptionHandler handler)
                throws ClassNotFoundException
Specified by:
addHandler in interface ExceptionHandlerManager
Throws:
ClassNotFoundException

handle

public boolean handle(Throwable e,
                      Event event)
Specified by:
handle in interface ExceptionHandlerManager

handleWithAllHandler

public boolean handleWithAllHandler(Throwable e,
                                    Event event)
Specified by:
handleWithAllHandler in interface ExceptionHandlerManager


Copyright © 2006–2015 TinyGroup. All rights reserved.