List of usage examples for com.liferay.portal.kernel.bean BeanLocatorException BeanLocatorException
public BeanLocatorException(Throwable cause)
From source file:com.liferay.util.bean.PortletBeanLocatorUtil.java
License:Open Source License
public static Object locate(String name) throws BeanLocatorException { if (_beanLocator == null) { _log.error("BeanLocator is null"); throw new BeanLocatorException("BeanLocator has not been set"); } else {/* w ww . ja va 2 s . c om*/ return _beanLocator.locate(name); } }