public class WebExceptionHandlerManagerImpl extends Object implements WebExceptionHandlerManager
开发人员: renhui
开发时间: 2013-9-22
MANAGER_BEAN
Constructor and Description |
---|
WebExceptionHandlerManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(String exception,
WebExceptionHandler handler) |
boolean |
handler(Throwable e,
WebContext webContext) |
void |
setDefaultHandler(WebExceptionHandler handler) |
public void addHandler(String exception, WebExceptionHandler handler) throws ClassNotFoundException
addHandler
in interface WebExceptionHandlerManager
ClassNotFoundException
public boolean handler(Throwable e, WebContext webContext) throws IOException, javax.servlet.ServletException
handler
in interface WebExceptionHandlerManager
IOException
javax.servlet.ServletException
public void setDefaultHandler(WebExceptionHandler handler)
setDefaultHandler
in interface WebExceptionHandlerManager
Copyright © 2006–2018 TinyGroup. All rights reserved.