Actually we discussed that and we all agreed that Hibernate Exceptions are "technical" from the Application perspective and thus should be runtime.
anyway you can use a try catch to make them back checked ;-)


Aaron Knauf wrote:

Also, in my opinion MappingException class should extend RuntimeException instead of Exception, which would allow for less clutter in the code, because if there is a problem with the mapping what is the point of moving on to load the app. Of course, if the developer needs to move on, he/she can still use a

try/catch to catch

the exception and handle it in an appropriate way.


Yeah, all hibernate exceptions are now runtime exceptions in Hibernate3. This was a mistake.




/All/ hibernate exceptions? What is the mistake that you refer to? The making of /all/ exceptions runtime, or the making of the original MappingException checked?

I'm not convinced that having /all/ exceptions unchecked is a good move.

ADK
-----------------------------------------------------------------------------------------------
Have you seen our website?.... http://www.vodafone.co.nz

Manage Your Account, check your Vodafone Mail and send web2TXT online: 
http://www.vodafone.co.nz/myvodafone

CAUTION: This correspondence is confidential and intended for the named recipient(s) 
only.
If you are not the named recipient and receive this correspondence in error, you must 
not copy,
distribute or take any action in reliance on it and you should delete it from your 
system and
notify the sender immediately.  Thank you.

Unless otherwise stated, any views or opinions expressed are solely those of the 
author and do
not represent those of Vodafone New Zealand Limited.

Vodafone New Zealand Limited
21 Pitt Street, Private Bag 92161, Auckland, 1020, New Zealand
Telephone + 64 9 357 5100
Facsimile + 64 9 377 0962


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-- Emmanuel Bernard [EMAIL PROTECTED] http://www.hibernate.org



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to