Added an alternative constructor to PGSQLException so that debugging
Peter Mount <peter@retep.org.uk>
Added an alternative constructor to PGSQLException so that debugging
some more osteric bugs is easier. If only 1 arg is supplied and it's
of type Exception, then that Exception's stacktrace is now included.
This was done as there's been a report of an unusual bug during connection.
This will make this sort of bug hunting easier from now on.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/CHANGELOG | modified | +5 −0 |
| src/interfaces/jdbc/org/postgresql/Driver.java.in | modified | +37 −37 |
| src/interfaces/jdbc/org/postgresql/util/PSQLException.java | modified | +29 −0 |