title: Avoid printStackTrace(); use a logger call instead
body: <p>In my application, I am running my code through PMD.It shows me this message:</p>
  
  <blockquote>
    <ul>
    <li>Avoid printStackTrace(); use a logger call instead. </li>
    </ul>
  </blockquote>
  
  <p>What does that mean?</p>