ClassLoaders use Exception for flow-control, don't they?
I am currently implementing my own ClassLoader which acts in a very low level in the class-loader hirachy.
Most time (99.9%) of the time the ClassLoader will simply not find the approriate class and therefor throw an ClassNotFoundException, as it should.
It works, but isn't there a better way for telling the class-loader hirarchy that my class loader was not able to find the class? This way I am throwing thousands of exception where a "return null" could do the same.