@ControllerAdvice public class ZombieExceptionHandler extends Object
| Constructor and Description |
|---|
ZombieExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
handleAllEx(Exception exception) |
org.springframework.http.ResponseEntity<Object> |
handleZombieEx(Exception ex) |
@ResponseStatus(value=GATEWAY_TIMEOUT)
@ExceptionHandler(value={com.deere.isg.worktracker.ZombieException.class,com.deere.isg.worktracker.ZombieError.class})
@ResponseBody
public org.springframework.http.ResponseEntity<Object> handleZombieEx(Exception ex)
@ResponseStatus(value=INTERNAL_SERVER_ERROR) @ExceptionHandler(value=java.lang.Exception.class) @ResponseBody public org.springframework.http.ResponseEntity<Object> handleAllEx(Exception exception)
Copyright © 2018. All rights reserved.