Hi,

In AS7-5555, Ondřej is looking to let the person writing the application 
know what is wrong in a different way than throwing an NPE.

Throwing a new HibernateException("you did it wrong") might be more 
informative.

Any arguments against doing that?

Also, any suggestions for what the exception message should be?

Scott
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to