Throw correct ClassNotFoundException to debug classloader issues