title: Print Reason for Exception
body: <p>I am writing a Java program, and I have a line of code that requires a <code>try...catch</code> statement. The problem is that the line of code is always falling through to the <code>catch</code> part of the statement. I do not know why or what the problem is, so I would like to print the contents of the error  to the screen so that I may be able to try tracking down the problem. How can I do this? Could I try <code>System.out.println(e)</code> where <code>e</code> is the variable of type <code>Exception</code>?</p>