JDBC: Improved error output