Subject Re: [Firebird-Java] hostname resolving jaybird
Author Roman Rokytskyy
> Before Java 1.4 there was no API-defined Exception-chaining in Java, so
> a lot of people rolled their own, Java 1.4 introduced a standard for
> chaining. JDBC specifies a specific way of chaining but that is not
> followed by Jaybird as far as I can see. Starting with JDBC 4.0 a
> combination of the old JDBC chaining and the new chaining should be used.
> The 'old-school' style in Jaybird uses getNext() in GDSException and
> getInternalException in FBSQLException. Under the 'new'
> Exception-chaining, one would normally use getCause() or in case of JDBC
> specific Exceptions: getNextException() in combination with getCause().
> See also the explanation in
> and
> paragraph 8.1.2 in the JDBC 4.0 spec.

Thanks for the explanation. Could you create an appropriate ticket
("Improvement"), I will check how much work would be to switch to new
exception chaining.