Examples of PersistenceManagerException


Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // Error is not recoverable.
        }
      }

      LOG.log(Level.SEVERE, "Couldn't save object.", e);
      throw new PersistenceManagerException("Couldn't save object.", e);
    } finally {
      // Close session if we had opened it
      if (!isForeignSession) {
        closeSession();
      }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // Error is not recoverable.
        }
      }

      LOG.log(Level.SEVERE, "Couldn't update object.", e);
      throw new PersistenceManagerException("Couldn't update object.", e);
    } finally {
      // Close session if we had opened it
      if (!isForeignSession) {
        closeSession();
      }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

        } catch (Exception e1) {
          // Error is not recoverable.
        }
      }
      LOG.log(Level.SEVERE, "Couldn't delete object.", e);
      throw new PersistenceManagerException("Couldn't delete object.", e);
    } finally {
      // Close session if we had opened it
      if (!isForeignSession) {
        closeSession();
      }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // We can do nothing here.
        }
      }

      LOG.log(Level.SEVERE, "Could not merge groups.", e);
      throw new PersistenceManagerException("Could not merge groups.", e);
    } finally {
      HibernateUtil.closeSession();
    }
  }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

    try {
      final Session session = HibernateUtil.openSession();
      groups = getGroups(session);
    } catch (Exception e) {
      LOG.log(Level.SEVERE, "Could not read the list of groups.", e);
      throw new PersistenceManagerException("Could not read the list of groups.", e);
    } finally {
      HibernateUtil.closeSession();
    }

    return groups == null ? new ChannelGroupIF[0] : groups;
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // We can do nothing here.
        }
      }

      LOG.log(Level.SEVERE, "Could add channel to group.", e);
      throw new PersistenceManagerException("Could add channel to group.", e);
    } finally {
      HibernateUtil.closeSession();
    }
  }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // We can do nothing here.
        }
      }

      LOG.log(Level.SEVERE, "Could add channel to group.", e);
      throw new PersistenceManagerException("Could add channel to group.", e);
    } finally {
      HibernateUtil.closeSession();
    }
  }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // We can do nothing here.
        }
      }

      LOG.log(Level.SEVERE, "Could not delete channel.", e);
      throw new PersistenceManagerException("Could not delete channel.", e);
    } finally {
      HibernateUtil.closeSession();
    }
  }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

          // We can do nothing here.
        }
      }

      LOG.log(Level.SEVERE, "Could not delete item.", e);
      throw new PersistenceManagerException("Could not delete item.", e);
    } finally {
      HibernateUtil.closeSession();
    }
  }
View Full Code Here

Examples of de.nava.informa.utils.manager.PersistenceManagerException

        ChannelGroupIF group = groups[i];
        initGroupCollections(group);
      }
    } catch (Exception e) {
      LOG.log(Level.SEVERE, "Could not read the list of groups.", e);
      throw new PersistenceManagerException("Could not read the list of groups.", e);
    }

    return groups;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.