Package org.openbp.core.model

Examples of org.openbp.core.model.ModelException


      pc.saveObject(dbModel);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of model '" + model.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here


      pc.saveObject(dbModel);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of model '" + model.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here

      pc.saveObject(dbModelItem);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of component '" + item.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here

      pc.saveObject(dbModelItem);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of component '" + item.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here

      pc.executeUpdateOrDelete(sql);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error removing model '" + model.getQualifier() + "' from the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here

      pc.deleteObject(dbModelItem);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error saving descriptor of component '" + item.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
View Full Code Here

      readItemsFromDatabase(pc);
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error loading models from the database: " + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
    }
View Full Code Here

      return model;
    }
    catch (PersistenceException e)
    {
      tg.doCatch();
      throw new ModelException("DatabaseOperation", "Error loading model from the database: " + e.getMessage(), e);
    }
    finally
    {
      tg.doFinally();
    }
View Full Code Here

    }
    catch (PersistenceException e)
    {
      pc.rollbackTransaction();
      pc.release();
      throw new ModelException("DatabaseOperation", "Error reloading descriptor of model '" + model.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
  }
View Full Code Here

    }
    catch (PersistenceException e)
    {
      pc.rollbackTransaction();
      pc.release();
      throw new ModelException("DatabaseOperation", "Error reloading descriptor of component '" + item.getQualifier() + "' to the database: "
        + e.getMessage(), e);
    }
  }
View Full Code Here

TOP

Related Classes of org.openbp.core.model.ModelException

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.