@Configuration @ControllerAdvice public class ControllerExceptionHandler extends ExceptionHandlerInterface
| 构造器和说明 |
|---|
ControllerExceptionHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultBody |
exceptionHandler(Exception ex) |
handle@ResponseBody
@ExceptionHandler(value={AdminAccessException.class,AdminAccessInvalidException.class,AdminAccessExpiredException.class})
public ResultBody exceptionHandler(Exception ex)
Copyright © 2020. All rights reserved.