Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGBackendException


    public Object getNativeObject() throws WGBackendException {
        try {
            return getConnection();
        }
        catch (SQLException e) {
            throw new WGBackendException("Error retrieving native object form JDBCSource", e);
        }
    }
View Full Code Here


        }*/
      }
            this.key = new Integer(resultSet.getRow());
    }
    catch (SQLException e) {
      throw new WGBackendException("Error creating document.", e);
    }
   
   
   
  }
View Full Code Here

          resultSet.next();
        }
        return result;
      }
      catch (SQLException e) {
        throw new WGBackendException("Error retrieving content list.", e);
      }
  }
View Full Code Here

          result.add(new WGDocumentImpl(this.db.db, resultSet));
        }
        return result;
      }
      catch (SQLException e) {
        throw new WGBackendException("Error retrieving content list.", e);
      }
  }
View Full Code Here

                if (getSession().connection().isReadOnly()) {
                  getSession().connection().setReadOnly(false);
            }
                }
                catch (HibernateException e) {
            throw new WGBackendException("unable to establish a read/write connection.", e);
                }
                catch (SQLException e) {
            throw new WGBackendException("unable to establish a read/write connection.", e);
          }
            }
           
            getSession().beginTransaction();
        } else {
View Full Code Here

                if (getSession().connection().isReadOnly()) {
                  getSession().connection().setReadOnly(false);
                }
                }
                catch (HibernateException e) {
            throw new WGBackendException("unable to establish a read/write connection.", e);
                }
                catch (SQLException e) {
            throw new WGBackendException("unable to establish a read/write connection.", e);
          }
            }
           
            getSession().beginTransaction();
       
View Full Code Here

           
            Query query = getSession().createQuery(hql);
            return new ArrayList(query.list());
        }
        catch (HibernateException e) {
            throw new WGBackendException("Exception retrieving all content keys", e);           
        }
       
       
       
    }
View Full Code Here

           
            createLogEntry(getSession(), WGUpdateLog.TYPE_UPDATE, WGDocument.TYPENAME_DBMETADATA + "/" + name, md.getId());
            commitHibernateTransaction();
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error setting database metadata.", e);  
        }
       
       
       
    }
View Full Code Here

        }
        catch (QueryException e) {
           throw new WGQueryException("Querying all user profile names", e.getMessage(), e);
        }
        catch (HibernateException e) {
           throw new WGBackendException("Error executing profile query", e);
        }
       
    }   
View Full Code Here

    if (conn != null) {
      try {
        conn.close();
      }
      catch (SQLException e) {
        throw new WGBackendException("Unable to logout.", e);
      }
      finally {
        //B00004AC2
        WGUtils.removeThreadLocalValue(_connection);
      }
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.WGBackendException

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.