public Tier load(String name, String vdc, String environmentName) throws EntityNotFoundException { try { return tierDao.load(name, vdc, environmentName); } catch (Exception e) { throw new EntityNotFoundException(Tier.class, "error", e.getMessage()); } }
public boolean exists(String name, String vdc, String environmentName) { try { tierDao.load(name, vdc, environmentName); return true; } catch (Exception e) { return false; } }