@ControllerAdvice public class InternalExceptionControllerAdvice extends Object
The default controller advice which catches the exceptions and returns the proper error messages to the front end.
Constructor and Description |
---|
InternalExceptionControllerAdvice() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<String> |
handleException(Exception exception) |
@ResponseBody @ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<String> handleException(Exception exception)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.