@ControllerAdvice public class GlobalControllerExceptionHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
static String |
sDefaultErrorView |
| Constructor and Description |
|---|
GlobalControllerExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
dae(javax.servlet.http.HttpServletRequest req,
Exception e) |
org.springframework.web.servlet.ModelAndView |
defaultErrorHandler(javax.servlet.http.HttpServletRequest req,
Exception e) |
public static final String sDefaultErrorView
protected static org.slf4j.Logger logger
@ResponseStatus(value=BAD_GATEWAY)
@ExceptionHandler(value=org.springframework.dao.DataAccessException.class)
public void dae(javax.servlet.http.HttpServletRequest req,
Exception e)
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.web.servlet.ModelAndView defaultErrorHandler(javax.servlet.http.HttpServletRequest req, Exception e) throws Exception
ExceptionCopyright © 2017. All rights reserved.