Class LastExceptionHandler
java.lang.Object
cool.scx.web.exception_handler.ScxHttpExceptionHandler
cool.scx.web.exception_handler.LastExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean判断是否可以处理这个异常voidhandle(Throwable throwable, RoutingContext routingContext) 将结果处理并返回Methods inherited from class cool.scx.web.exception_handler.ScxHttpExceptionHandler
handleScxHttpException, sendToClient
-
Constructor Details
-
LastExceptionHandler
public LastExceptionHandler(boolean useDevelopmentErrorPage)
-
-
Method Details
-
canHandle
Description copied from interface:ExceptionHandler判断是否可以处理这个异常- Specified by:
canHandlein interfaceExceptionHandler- Overrides:
canHandlein classScxHttpExceptionHandler
-
handle
Description copied from interface:ExceptionHandler将结果处理并返回- Specified by:
handlein interfaceExceptionHandler- Overrides:
handlein classScxHttpExceptionHandler
-