@ControllerAdvice public class RestControllerAdvice extends Object
Constructor and Description |
---|
RestControllerAdvice() |
@ExceptionHandler(value=java.lang.Exception.class) @ResponseStatus(value=INTERNAL_SERVER_ERROR) @ResponseBody public org.springframework.hateoas.VndErrors onException(Exception e)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.