SyntaxFix
Write A Post
Hire A Developer
Questions
toString() only returns the exception name and the optional message. I would suggest calling
toString()
exception.printStackTrace()
to dump the message, or if you need the gory details:
StackTraceElement[] trace = exception.getStackTrace()