patch: improve exception propagation in testcases

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: patch: improve exception propagation in testcases
Date: 2003-12-02 06:29:46
Message-ID: 20031202062946.GH19205@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This patch modifies various testcases and test support code so they do not
catch-and-rethrow SQLExceptions as assertion failures. This means you
actually see the original exception (and under 1.4, any nested exception)
without any extra work; it also makes the code a bit easier to read.

-O

Attachment Content-Type Size
test_exception_cleanups.txt text/plain 6.3 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message pginfo 2003-12-02 06:29:52 Re: autocommit trouble with jdbc on Postgres 7.4
Previous Message Oliver Jowett 2003-12-02 06:23:21 patch: PSQLException cleanups & exception chaining