List of usage examples for org.springframework.data.mapping PropertyReferenceException getMessage
@Override
public String getMessage()
From source file:edu.pitt.dbmi.ccd.anno.error.ErrorHandler.java
@ExceptionHandler(PropertyReferenceException.class) @ResponseStatus(HttpStatus.BAD_REQUEST)/*from ww w . j a v a2 s . c o m*/ @ResponseBody public ErrorMessage handlePropertyReferenceException(PropertyReferenceException ex, HttpServletRequest req) { LOGGER.info(ex.getMessage()); return new ErrorMessage(HttpStatus.BAD_REQUEST, ex.getMessage(), req); }