title: Using e.printStackTrace() in Java
body: <p>This is probably a newbie question, but hope you can help me. :) I have something like this:</p>
  
  <pre><code>try
  { 
  //try to do something there
  }
  catch (IOException e)
  {
  //handle the exception 
  e.printStackTrace();
  }
  </code></pre>
  
  <p>I am using NetBeans IDE and for some reason the printStackTrace is underlined in a squiggly line.  When I press Alt+Enter, it says Throwable.printStackTrace() should be removed.  What does this mean?  Could anyone give more insight as what this may mean? Or can I ignore this?</p>
  
  <p>Thanks!</p>