Go through the list of class loaders but exclude the given
class loader, then try to load
the requested class.
The method will stop as soon as the class is found. If the class
is not found the method will throw a
ClassNotFoundException
exception.
Returns:
the loaded class.
Parameters:
-
className - The name of the class to be loaded.
-
loader - The class loader to be excluded.
Throws:
-
ClassNotFoundException - The specified class could not be
found.