Menu

#5 Print next exception

v1.0 (example)
open
nobody
exception (1)
7
2014-05-31
2014-05-31
No

When an exception is thrown, sometimes is not enough to deal with the exception itself, but it is necessary, in order to understand the reason, to scan the "next exceptions"

At the moment of the catch exception, print the message of not only that given exception, but any other wrapped exception, and for this the nextException() method could be used.

That helps to resolve problem easily.

The issue is present in the Java classes that deal with SQLExceptions.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.