IDE-1828 Error occurs when cancel new liferay portlet wizard with general project only in package explorer

Lets not add this check here.  Instead below in the JavaModelUtil.findType() we should wrap it with try/catch and if there is an exception then just return false that portlet class is invalid.