public class ExceptionHandlerManagerImpl extends Object implements ExceptionHandlerManager
MANAGER_BEAN
Constructor and Description |
---|
ExceptionHandlerManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(String exception,
ExceptionHandler handler) |
boolean |
handle(Throwable e,
Event event) |
boolean |
handleWithAllHandler(Throwable e,
Event event) |
public void addHandler(String exception, ExceptionHandler handler) throws ClassNotFoundException
addHandler
in interface ExceptionHandlerManager
ClassNotFoundException
public boolean handle(Throwable e, Event event)
handle
in interface ExceptionHandlerManager
public boolean handleWithAllHandler(Throwable e, Event event)
handleWithAllHandler
in interface ExceptionHandlerManager
Copyright © 2006–2018 TinyGroup. All rights reserved.