From: Schnitzer, J. <JSc...@ma...> - 2003-01-03 21:59:51
|
Why not HibernateException extends SQLException? Jeff > -----Original Message----- > From: One Ovthafew [mailto:1ov...@mb...] > Sent: Friday, January 03, 2003 8:30 AM > To: hib...@li... > Subject: Re: [Hibernate] Suggestion: Encapsulate SQLException in > HibernateException >=20 > I am happy to introduce a JDBCException that wraps any SQLExceptions > that occur. However, I don't have a strong view either way. So lets just > vote on this.... >=20 > Gavin >=20 > >> I was thinking about wrapping SQLException in HibernateException, so > that we don't need to worry about catch HibernateException and > SQLException. Since now the work is focused on some changes for > Hibernate 2, this could be the right time to do this kind of change. > This would simplify the error handling in the applications. << >=20 > --------------------------------------------------------------------- > Never lose a fax again, receive faxes to your personal email account! > Visit http://www.mbox.com.au/fax >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |