From: Max R. A. <ma...@eo...> - 2002-10-26 20:22:10
|
Hi! I will suggest that HibernateException et.al. should extend commons.lang.exeception.NestableException, as hibernate is already dependent on the commons.lang stuff. Why ?, because while working on "stress-testing" the error handling in some of the parsing of the hibernate internals I found that if the cause/root exception would have been included in the errorreporting I would have much more relevant information available to me as an hibernate user. If you say "yes - that's a great idea" then I'll gladly start on doing the footwork and send you the patch - but some people is quite religous abut exception handling and the nestable "stuff", so if noone wants to commit it to cvs I won't do it :) So, would you also like to get better error-messages in Hibernate ? yes or no ? :) /max |
From: Max R. A. <ma...@eo...> - 2002-10-26 22:11:24
|
And as always - I could not wait so it is in the "Patches" on sourceforge :) /max ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Saturday, October 26, 2002 10:21 PM Subject: [Hibernate] Suggestion: Utilize commons.lang.exception > Hi! > > I will suggest that HibernateException et.al. should extend > commons.lang.exeception.NestableException, as hibernate is already dependent > on the commons.lang stuff. > > Why ?, because while working on "stress-testing" the error handling in some > of the parsing of the hibernate internals I found that if the cause/root > exception would have been included in the errorreporting I would have much > more relevant information available to me as an hibernate user. > > If you say "yes - that's a great idea" then I'll gladly start on doing the > footwork and send you the patch - but some people is quite > religous abut exception handling and the nestable "stuff", so if noone wants > to commit it to cvs I won't do it :) > > So, would you also like to get better error-messages in Hibernate ? yes or > no ? :) > > /max > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |
From: Gavin K. <ga...@ap...> - 2002-10-27 03:09:30
|
Thanks; I had thought of doing this myself but couldn't get round to it. I did a bit more cleaning up along the same lines. Much nicer now. ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Sunday, October 27, 2002 9:11 AM Subject: Re: [Hibernate] Suggestion: Utilize commons.lang.exception > And as always - I could not wait so it is in the "Patches" on sourceforge :) > > /max > > ----- Original Message ----- > From: "Max Rydahl Andersen" <ma...@eo...> > To: <hib...@li...> > Sent: Saturday, October 26, 2002 10:21 PM > Subject: [Hibernate] Suggestion: Utilize commons.lang.exception > > > > Hi! > > > > I will suggest that HibernateException et.al. should extend > > commons.lang.exeception.NestableException, as hibernate is already > dependent > > on the commons.lang stuff. > > > > Why ?, because while working on "stress-testing" the error handling in > some > > of the parsing of the hibernate internals I found that if the cause/root > > exception would have been included in the errorreporting I would have much > > more relevant information available to me as an hibernate user. > > > > If you say "yes - that's a great idea" then I'll gladly start on doing the > > footwork and send you the patch - but some people is quite > > religous abut exception handling and the nestable "stuff", so if noone > wants > > to commit it to cvs I won't do it :) > > > > So, would you also like to get better error-messages in Hibernate ? yes or > > no ? :) > > > > /max > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > Las Vegas (supported by COMDEX), the only Apache event to be > > fully supported by the ASF. http://www.apachecon.com > > _______________________________________________ > > hibernate-devel mailing list > > hib...@li... > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |