Package com.mustafaiev.tair.cts.exeption

Examples of com.mustafaiev.tair.cts.exeption.DataNotStoredException


        session.saveOrUpdate(basket);
      }
      transaction.commit();
    } catch (final HibernateException e) {
      LOGGER.error(e);
      throw new DataNotStoredException(
          "Baskets batch was not stored for a some reason", e);
    }
  }
View Full Code Here


      this.hibernateTemplate.save(t);
      transaction.commit();
    } catch (final HibernateException e) {
      transaction.rollback();
      LOGGER.error(e);
      throw new DataNotStoredException(
          "Payer was not stored for some reason", e);
    }
  }
View Full Code Here

      transaction.begin();
      session.saveOrUpdate(t);
      transaction.commit();
    } catch (final HibernateException e) {
      LOGGER.error(e);
      throw new DataNotStoredException(
          "Basket was not stored for a some reason", e);
    }
  }
View Full Code Here

          .getPassword());
      payer.setPassword(encodedPassword);
      this.payerDao.doSave(payer);
    } catch (final DataNotStoredException e) {
      LOGGER.error(e.getLocalizedMessage(), e);
      throw new DataNotStoredException(e.getLocalizedMessage());
    }
  }
View Full Code Here

    try {
      payer.setId(payerDto.getId());
      this.payerDao.doUpdate(payer);
    } catch (final DataNotStoredException e) {
      LOGGER.error(e.getLocalizedMessage(), e);
      throw new DataNotStoredException(e.getLocalizedMessage());
    }

  }
View Full Code Here

TOP

Related Classes of com.mustafaiev.tair.cts.exeption.DataNotStoredException

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.