Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGBackendException


                }
                catch (ObjectNotFoundException e) {
                    return null;
                }
                catch (HibernateException e) {
                    throw new WGBackendException("Error fast accessing content", e);
                }
   
                if (content != null) {
                    return createDocumentImpl(content);
                }
View Full Code Here


                }
            }
            return contentList;
        }
        catch (HibernateException e) {
            throw new WGBackendException("Exception retrieving struct entry content", e);
        }

    }
View Full Code Here

            else {
                return null;
            }
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error loading content by key", e);
        }

    }
View Full Code Here

            }
           
            contents = query.iterate();
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error searching content by name", e);
        }

        Content content;
        while (contents.hasNext()) {
            content = (Content) contents.next();
View Full Code Here

        }
        catch (ObjectDeletedException e) {
            return null;
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error retrieving design object", e);
        }

        if (design != null) {
            return createDocumentImpl(design);
        }
View Full Code Here

        Iterator designs;
        try {
            designs = getSession().createQuery(query).iterate();
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error retrieving design objects.", e);          
        }

        List designList = new ArrayList();
        while (designs.hasNext()) {
            designList.add(createDocumentImpl((MainEntity) designs.next()));
View Full Code Here

                    return new Date(Long.MIN_VALUE);
                }
            }
        }
        catch (HibernateException e) {
            throw new WGBackendException("Error retrieving historylog of database '" + getTitle() + "'", e);           
        }

    }
View Full Code Here

        catch (ObjectNotFoundException e) {
            return null;
        }

        catch (HibernateException e) {
            throw new WGBackendException("Error loading structentry by key", e);
        }

    }
View Full Code Here

        catch (ObjectNotFoundException e) {
            return null;
        }

        catch (HibernateException e) {
            throw new WGBackendException("Error loading userprofile for name '" + name + "'.", e);
        }

    }
View Full Code Here

             
              try {
          session.connection().setReadOnly(readOnly);
                }
                catch (SQLException e) {
          throw new WGBackendException("Unable to set readonly flag on connection." , e);
        }
            }

            if (getTransactionMode() != WGSessionContext.TRANSACTION_MODE_MANUAL) {
                session.beginTransaction();
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.