List of usage examples for org.apache.commons.lang3 NotImplementedException getLocalizedMessage
public String getLocalizedMessage()
From source file:org.apereo.openlrs.controllers.xapi.XAPIExceptionHandlerAdvice.java
@ExceptionHandler(NotImplementedException.class) @ResponseStatus(value = HttpStatus.NOT_IMPLEMENTED) @ResponseBody/* w w w .ja v a2 s.c om*/ public XAPIErrorInfo handleNotImplementedException(final HttpServletRequest request, final NotImplementedException e) { final XAPIErrorInfo result = new XAPIErrorInfo(HttpStatus.NOT_IMPLEMENTED, request, e.getLocalizedMessage()); this.logException(e); this.logError(result); return result; }