String instanceName = (String) propertyMap.get(INSTANCE_NAME_PROPERTY_ID);
try {
getResourceProvider(instanceName).createResource(resourceId, propertyMap);
} catch (org.apache.ambari.view.NoSuchResourceException e) {
throw new NoSuchParentResourceException(e.getMessage(), e);
} catch (org.apache.ambari.view.UnsupportedPropertyException e) {
throw new UnsupportedPropertyException(getResourceType(e), e.getPropertyIds());
} catch (org.apache.ambari.view.ResourceAlreadyExistsException e) {
throw new ResourceAlreadyExistsException(e.getMessage());
} catch (Exception e) {