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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


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

Reply via email to