Added cause for rethrown classloading exceptions so they can be diagnosed