@ControllerAdvice @Order(value=2147483646) public class EruptExceptionHandlerAdvice extends Object
Constructor and Description |
---|
EruptExceptionHandlerAdvice() |
Modifier and Type | Method and Description |
---|---|
EruptApiModel |
eruptApiErrorTip(EruptApiErrorTip e) |
Object |
eruptWebApiRuntimeException(EruptWebApiRuntimeException e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
@ResponseBody @ExceptionHandler(value=EruptWebApiRuntimeException.class) public Object eruptWebApiRuntimeException(EruptWebApiRuntimeException e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@ExceptionHandler(value=EruptApiErrorTip.class) @ResponseStatus(value=OK) @ResponseBody public EruptApiModel eruptApiErrorTip(EruptApiErrorTip e)
Copyright © 2022. All rights reserved.