{
final String message = REZ.getString( "bad-block-class",
name,
classname,
e.getMessage() );
throw new VerifyException( message );
}
final Class[] interfaces =
getServiceClasses( name,
block.getBlockInfo().getServices(),
classLoader );
verifyAvalonComponent( name, clazz, interfaces );
for( int i = 0; i < interfaces.length; i++ )
{
if( !interfaces[ i ].isAssignableFrom( clazz ) )
{
final String message = REZ.getString( "block-noimpl-service",
name,
classname,
interfaces[ i ].getName() );
throw new VerifyException( message );
}
}
if( Block.class.isAssignableFrom( clazz ) )
{