SQLException subclasses
От
TimothyReaves@westfieldgrp.com
Тема
SQLException subclasses
Дата
Msg-id
OFB9DB6EDB.0495AA71-ON85256B7A.004BB7E5@westfield-cos.com
Список
Дерево обсуждения
SQLException subclasses TimothyReaves@westfieldgrp.com
Re: SQLException subclasses "Joe Shevland" <jshevland@j-elite.com>
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 по дате отправления