Why not HibernateException extends SQLException? Jeff
> -----Original Message----- > From: One Ovthafew [mailto:[EMAIL PROTECTED] > Sent: Friday, January 03, 2003 8:30 AM > To: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Suggestion: Encapsulate SQLException in > HibernateException > > 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.... > > Gavin > > >> 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. << > > --------------------------------------------------------------------- > Never lose a fax again, receive faxes to your personal email account! > Visit http://www.mbox.com.au/fax > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel