elasticsearch/elasticsearch — pull request #2635 by jjongsma (2013-02-08 23:01:28+00:00)
Title: Throw correct exception when looking for discovery module

Currently throws the ClassNotFoundException from the original module loading attempt (something unhelpful like "ec2") instead of the fully qualified class ES looks for in the end (i.e. "org.elasticsearch.discovery.ec2.Ec2DiscoveryModule")

Helped me debug classloader issues with OSGI.