Is there any standard for the ordering of nested SQLExceptions ?
Looking at the setNextException() source, this adds the new exception to the end of the chain - thus inferring that the first SQLException in the chain details the root cause of the problem.
However, in reality, the SQLExceptions we get back from our Informix 2000 DBMS via Informix's own type 4 JDBC driver have the meat of the exception at the end of the chain - thus inferring that the last SQLException in the chain details the root cause of the problem.
I cannot find any documentation that gives an official stance on this; if, indeed, there is one.
posted 16 years ago
Hi Gary, I went through the documentation and it seems that setNextException sets the next element in the chain of exceptions. The documentation explicitly says that this method is normally used only by driver or tool writers. You should probably contact INFORMIX or driver vendor and see what they have to say. Regards, Milind
[This message has been edited by Milind Kulkarni (edited July 21, 2000).]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads