SQLException subclasses - Mailing list pgsql-jdbc

From TimothyReaves@westfieldgrp.com
Subject SQLException subclasses
Date
Msg-id OFB9DB6EDB.0495AA71-ON85256B7A.004BB7E5@westfield-cos.com
Whole thread Raw
Responses Re: SQLException subclasses
List pgsql-jdbc
     Has any thought been given to subclassing SQLException to better
control what happens when an exception occurs?  There is a difference
between how I would like to handle different things.  Particularly pk
exceptions.  I'm sure I could parse the text of the exception, but would a
DuplicatePrimaryKeyException be better than the generic SQLException?


pgsql-jdbc by date:

Previous
From: Alexey Slynko
Date:
Subject: Re: Problem with array ... help!
Next
From: "Yousry Abdallah"
Date:
Subject: Re: problem about postgresql and jdbc