Package lib.exceptions

Examples of lib.exceptions.CommunicationException


  public void insert(HealthUnit us) throws InsertEntryException, ObjectAlreadyInsertedException,
      ObjectNotValidException, TransactionException, CommunicationException, RepositoryException {
    try {
      facade.insert(us);
    } catch (RemoteException ex) {
      throw new CommunicationException(ex.getMessage());
    }
  }
View Full Code Here


      ObjectNotValidException, InsertEntryException, TransactionException,
      CommunicationException, RepositoryException {
        try {
          facade.insert(speciality);
        } catch (RemoteException ex) {
          throw new CommunicationException(ex.getMessage());
        }
  }
View Full Code Here

      InsertEntryException, ObjectNotValidException, TransactionException,
      CommunicationException, RepositoryException {
        try {
          facade.insert(symptom);
        } catch (RemoteException ex) {
          throw new CommunicationException(ex.getMessage());
        }
  }
View Full Code Here

  public Symptom searchSymptom(Long numSymptom) throws ObjectNotFoundException,
      RepositoryException, CommunicationException, TransactionException {
    try {
      return facade.searchSymptom(numSymptom);
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

  public IteratorDsk getSymptomList() throws RepositoryException, ObjectNotFoundException,
      CommunicationException, TransactionException {
    try {
      return facade.getSymptomList();
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

  public void updateSymptom(Symptom symptom) throws RepositoryException, TransactionException,
      ObjectNotFoundException, CommunicationException, ObjectNotValidException {
    try {
      facade.updateSymptom(symptom);
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

    try {
      targetAdapter = (IIteratorRMITargetAdapter) Naming.lookup("//"
          + healthwatcher.Constants.SERVER_NAME + "/" + healthwatcher.Constants.SYSTEM_NAME);
    } catch (Exception e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

        return next();
      } catch (RemoteException e) {
        e.printStackTrace();

        throw new CommunicationException(e.getMessage());
      }
    }
  }
View Full Code Here

        return hasNext();
      } catch (RemoteException e) {
        e.printStackTrace();

        throw new CommunicationException(e.getMessage());
      }
    }
  }
View Full Code Here

    try {
      cache = null;

      targetAdapter.close();
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of lib.exceptions.CommunicationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.