Package br.com.buyFast.service

Examples of br.com.buyFast.service.ServiceException


    try {
      this.employeeDao.delete(employee);
    } catch (DaoException e) {
      String error = "Erro ao remover funcionário " + employee + " da base de dados.";
      logger.error(error, e);
      throw new ServiceException(error, e);
    }
  }
View Full Code Here


      logger.info("Atualizando administrador " + admin + " ...");
      adminDao.update(admin);
    } catch (DaoException e) {
      String messageError = "Erro ao atualizar administrador.";
      logger.error(messageError, e);
      throw new ServiceException(messageError, e);
    }
  }
View Full Code Here

      logger.info("Atualizando funcionário " + employee + " ...");
      employeeDao.update(employee);
    } catch (DaoException e) {
      String messageError = "Erro ao atualizar funcionário.";
      logger.error(messageError, e);
      throw new ServiceException(messageError, e);
    }
  }
View Full Code Here

TOP

Related Classes of br.com.buyFast.service.ServiceException

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.