private Result handleException(HttpServletResponse response, OAuthMessage message, Exception e) { // this isn't likely to happen, it would result from some unknown error with the request that the OAuth.net // library couldn't handle appropriately LOG.error("Failed to validate OAuth message", e); sendError(response, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, message); return new Result.Error(new OAuthProblem.System(e)); }