loginResult.setIsLoggedIn(false);
loginResult.setAuthenticationLink(OpenIdServlet.getAuthenticationURL(openIdURL, appBaseUrl, inDebugMode));
}
} catch (ClassNotFoundException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (FileNotFoundException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (JSONException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (SQLException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (IOException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (ParseException e) {
e.printStackTrace();
throw new FetchException(e.getMessage(), e);
} catch (OpenIdException e) {
//not logged in
loginResult.setIsLoggedIn(false);
loginResult.setAuthenticationLink(OpenIdServlet.getAuthenticationURL(openIdURL, appBaseUrl, inDebugMode));
}