title: Sonar complaining about logging and rethrowing the exception
body: <p>I have the following piece of code in my program and I am running SonarQube 5 for code quality check on it after integrating it with Maven.</p>
  
  <p>However, Sonar is complaining that I should <strong>Either log or rethrow this exception</strong>.</p>
  
  <p>What am I missing here? Am I not already logging the exception?</p>
  
  <pre><code> private boolean authenticate(User user) {
          boolean validUser = false;
          int validUserCount = 0;
          try {
              DataSource dataSource = (DataSource) getServletContext().getAttribute("dataSource");
              validUserCount = new MasterDao(dataSource).getValidUserCount(user);
          } catch (SQLException sqle) {
              LOG.error("Exception while validating user credentials for user with username: " + user.getUsername() + " and pwd:" + user.getPwd());
              LOG.error(sqle.getMessage());
          }
          if (validUserCount == 1) {
              validUser = true;
          }
          return validUser;
      }
  </code></pre>