Package lib.exceptions

Examples of lib.exceptions.CommunicationException


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


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

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

      ObjectAlreadyInsertedException, CommunicationException, TransactionException,
      ObjectNotValidException {
    try {
      return facade.insertComplaint(complaint);
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

  public void updateHealthUnit(HealthUnit unit) throws RepositoryException, TransactionException,
      ObjectNotFoundException, CommunicationException {
    try {
      facade.updateHealthUnit(unit);
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

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

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

      ObjectNotFoundException, ObjectNotValidException, UpdateEntryException,
      CommunicationException {
    try {
      facade.updateEmployee(e);
    } catch (RemoteException ex) {
      throw new CommunicationException(ex.getMessage());
    }
  }
View Full Code Here

      ObjectNotFoundException, ObjectNotValidException, UpdateEntryException,
      CommunicationException {
    try {
      return facade.searchEmployee(login);
    } catch (RemoteException e) {
      throw new CommunicationException(e.getMessage());
    }
  }
View Full Code Here

  public HealthUnit searchHealthUnit(Long healthUnitCode) throws ObjectNotFoundException,
      RepositoryException, CommunicationException, TransactionException {
    try {
      return facade.searchHealthUnit(healthUnitCode);
    } 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.