Package org.openxri.exceptions

Examples of org.openxri.exceptions.StoreInternalException


      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // done

    log.trace("Done.");
View Full Code Here


      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // done

    log.trace("Done.");
View Full Code Here

      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // done

    log.trace("Done.");
View Full Code Here

      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // done

    log.trace("Done.");
View Full Code Here

      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // done

    log.trace("Done.");
View Full Code Here

      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // build result list

    Authority[] result = new ArrayList<Authority> (authorities).toArray(new Authority[authorities.size()]);
View Full Code Here

      session.getTransaction().commit();
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // build result list

    SubSegment[] result = new ArrayList<SubSegment> (subSegments).toArray(new SubSegment[subSegments.size()]);
View Full Code Here

      throw(ex);
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // build result list

    SubSegment[] result = new ArrayList<SubSegment> (subSegments).toArray(new SubSegment[subSegments.size()]);
View Full Code Here

      throw(ex);
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // build result list

    SubSegment[] result = new ArrayList<SubSegment> (subSegments).toArray(new SubSegment[subSegments.size()]);
View Full Code Here

      throw(ex);
    } catch (Exception ex) {

      log.error(ex);
      if (session.isOpen() && session.getTransaction().isActive()) session.getTransaction().rollback();
      throw new StoreInternalException(ex, "Cannot access database.");
    }

    // build result list

    SubSegment[] result = new ArrayList<SubSegment> (subSegments).toArray(new SubSegment[subSegments.size()]);
View Full Code Here

TOP

Related Classes of org.openxri.exceptions.StoreInternalException

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.