[hibernate-dev] Hibernate Core 3.3 / HEM/HAN 3.4.0 migration hooplas

Pablo Nussembaum hibernate at bauna.com.ar
Fri Sep 19 12:40:43 EDT 2008


As an hibernate user, I like that exception be thrown during the
configuration process. I mean that you can try to log something and trap
the CNFE there.

Chris Bredesen wrote:
> Emmanuel Bernard wrote:
>
>> Thinking out loud. Couldn't we check if the first SLF4J call raises
>> CNFE and wraps that in a meaningful Exception
>> HibernateException("You forgot to add a SLF4J implementation (like
>> slf4log4j) in your class path, go do slf4j.org blah blah");
>
> If this is doable (sounds like it is), it would be much better user
> experience.
>
> -CB
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list