I can see on catching an exception that I can print e.getCause(), though it is always null.

Do I need to set it somewhere, or is something missing which is setting the cause to null?

Edit
Report