throws Exception
{
final ClassLoaderMetaData[] classLoaders = set.getClassLoaders();
for( int i = 0; i < classLoaders.length; i++ )
{
final ClassLoaderMetaData classLoader = classLoaders[ i ];
final String parent = classLoader.getParent();
if( !isLoaderDefined( parent, set ) )
{
final String message =
REZ.format( "invalid-parent.error",
classLoader.getName(),
parent );
throw new Exception( message );
}
}
}