{
resource.destroy( );
}
catch ( RuntimeException re )
{
throw new ResourceException( MSG.getMessage( Keys.FAILED_TO_DESTROY_RESOURCE, resource, re ) );
}
Resource removedResource = (Resource) m_resources.remove( getNonNullKey( resourceId ) );
if ( removedResource instanceof PropertiesResource )
{