예제 #1
0
 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());
   }
 }
예제 #2
0
 public boolean exists(String name, String vdc, String environmentName) {
   try {
     tierDao.load(name, vdc, environmentName);
     return true;
   } catch (Exception e) {
     return false;
   }
 }