On Jan 6, 9:10 am, Gili <
gili.tzab...@gmail.com> wrote:
> I forgot to mention the context. What is going on is that my
> application tries to inject a class called MultiPartReader, which in
> turn depends upon JavaMail which is missing. My application asks Guice
> "can you inject MultiPartReader?" and it replies with
> NoClassDefFoundError which is a bit unexpected. I am somewhat
> expecting it to answer "no, and here's why" not throw an exception
> that indicates the checking process itself failed.
Guice doesn't catch Errors, or attempt to recover from them. From the