Ensure that an XAConnection throws SQLExceptions appropriately even though it's a proxy class.  Before this change it was throwing an InvocationTargetException instead of the actual cause.
Ensure that an XAConnection throws SQLExceptions appropriately
even though it's a proxy class.  Before this change it was throwing
an InvocationTargetException instead of the actual cause.

Report and fix from Yaocl.

golovnin/pgjdbc,jorsol/pgjdbc,tivv/pgjdbc,schlosna/pgjdbc,bocap/pgjdbc,rjmac/pgjdbc,pgjdbc/pgjdbc,sehrope/pgjdbc,jkutner/pgjdbc,bocap/pgjdbc,jorsol/pgjdbc,alexismeneses/pgjdbc,marschall/pgjdbc,lonnyj/pgjdbc,lonnyj/pgjdbc,phillipross/pgjdbc,lordnelson/pgjdbc,thkoch2001/libpostgresql-jdbc-java,pgjdbc/pgjdbc,zapov/pgjdbc,AlexElin/pgjdbc,amozhenin/pgjdbc,zapov/pgjdbc,whitingjr/pgjdbc,AlexElin/pgjdbc,marschall/pgjdbc,davecramer/pgjdbc,alexismeneses/pgjdbc,thkoch2001/libpostgresql-jdbc-java,zemian/pgjdbc,panchenko/pgjdbc,davecramer/pgjdbc,jkutner/pgjdbc,marschall/pgjdbc,panchenko/pgjdbc,bocap/pgjdbc,AlexElin/pgjdbc,zemian/pgjdbc,thkoch2001/libpostgresql-jdbc-java,zemian/pgjdbc,panchenko/pgjdbc,underyx/pgjdbc,golovnin/pgjdbc,ekoontz/pgjdbc,davecramer/pgjdbc,whitingjr/pgjdbc,tivv/pgjdbc,amozhenin/pgjdbc,jamesthomp/pgjdbc,phillipross/pgjdbc,sehrope/pgjdbc,schlosna/pgjdbc,lordnelson/pgjdbc,underyx/pgjdbc,phillipross/pgjdbc,whitingjr/pgjdbc,sehrope/pgjdbc,jkutner/pgjdbc,jamesthomp/pgjdbc,underyx/pgjdbc,pgjdbc/pgjdbc,amozhenin/pgjdbc,Gordiychuk/pgjdbc,zapov/pgjdbc,sehrope/pgjdbc,rjmac/pgjdbc,Gordiychuk/pgjdbc,lordnelson/pgjdbc,pgjdbc/pgjdbc,davecramer/pgjdbc,marschall/pgjdbc,Gordiychuk/pgjdbc,rjmac/pgjdbc,ekoontz/pgjdbc,jorsol/pgjdbc,jorsol/pgjdbc,jamesthomp/pgjdbc,golovnin/pgjdbc