类 CompositeHandlerExceptionHandler
java.lang.Object
cn.taketoday.core.OrderedSupport
cn.taketoday.web.handler.CompositeHandlerExceptionHandler
- 所有已实现的接口:
cn.taketoday.core.Ordered,HandlerExceptionHandler
public class CompositeHandlerExceptionHandler
extends cn.taketoday.core.OrderedSupport
implements HandlerExceptionHandler
- 作者:
- TODAY 2020/12/23 21:53
-
字段概要
字段从类继承的字段 cn.taketoday.core.OrderedSupport
order从接口继承的字段 cn.taketoday.web.HandlerExceptionHandler
BEAN_NAME, NONE_RETURN_VALUE从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明 -
方法概要
修饰符和类型方法说明Return the list of exception resolvers to delegate to.handleException(RequestContext context, Throwable exception, Object handler) Handle exceptionvoidsetExceptionHandlers(List<HandlerExceptionHandler> handlers) Set the list of exception resolvers to delegate to.从类继承的方法 cn.taketoday.core.OrderedSupport
getOrder, setOrder
-
字段详细资料
-
handlers
-
-
构造器详细资料
-
CompositeHandlerExceptionHandler
public CompositeHandlerExceptionHandler() -
CompositeHandlerExceptionHandler
-
-
方法详细资料
-
setExceptionHandlers
Set the list of exception resolvers to delegate to. -
getExceptionHandlers
Return the list of exception resolvers to delegate to. -
handleException
public Object handleException(RequestContext context, Throwable exception, Object handler) throws Exception 从接口复制的说明:HandlerExceptionHandlerHandle exception- 指定者:
handleException在接口中HandlerExceptionHandlerexception- The exception occurredhandler- Current handler- 返回:
- a corresponding view result to write to,
or
nullfor default processing in the resolution chain - 抛出:
Exception- error handle failed
-