jodd-petite/src/main/java/jodd/petite/PetiteBeans.java
protected BeanDefinition lookupExistingBeanDefinition(final String name) {
		BeanDefinition beanDefinition = lookupBeanDefinition(name);
		if (beanDefinition == null) {
			throw new PetiteException("Bean not found: " + name);
		}
		return beanDefinition;
	}
protected BeanDefinition lookupExistingBeanDefinition(final String name) {
		BeanDefinition beanDefinition = lookupBeanDefinition(name);
		if (beanDefinition == null) {
			throw new PetiteException("Bean not found: " + name);
		}
		return beanDefinition;
	}
protected BeanDefinition lookupExistingBeanDefinition ( final String name ) { BeanDefinition beanDefinition = lookupBeanDefinition ( name ) ; if ( beanDefinition == null ) { throw new PetiteException ( "Bean not found: " + name ) ; } return beanDefinition ; }
Lookups for existing {@link jodd.petite.BeanDefinition bean definition}.
Throws exception if bean is not found.
Lookups for existing {