Package de.nava.informa.utils.manager

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


          // 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

        } 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

          // 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

    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

          // 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

          // 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

          // 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

          // 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

        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

Related Classes of de.nava.informa.utils.manager.PersistenceManagerException

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.