Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGSystemException


            case ITEMTYPE_BOOLEAN:
                return new Boolean(item.getNumber().doubleValue() == 1);
               
            default:
                throw new WGSystemException("Unsupported itemtype '" + item.getType() + "'.");

        }
    }
View Full Code Here


                WGUtils.inToOut(fin, out, 1024);
                out.close();
                return out.toByteArray();
            }
            catch (Exception e) {
                throw new WGSystemException("Error reading license data.", e);
            }
        }
        else {
            return null;
        }
View Full Code Here

            Iterator contentMetaNames = content.getMetaNames().iterator();
            while (contentMetaNames.hasNext()) {
                String metaName = (String) contentMetaNames.next();
                MetaInfo metaInfo = (MetaInfo) content.getMetaInfo(metaName);
                if (metaInfo == null) {
                    throw new WGSystemException("MetaInfo for meta '" + metaName + "' not found.");
                }
                if (!metaInfo.isLuceneSpecialTreatment() && !metaInfo.getLuceneIndexType().equals(MetaInfo.LUCENE_INDEXTYPE_NOINDEX)) {
                    addMeta(document, metaInfo, content.getMetaData(metaName));
                } else {
                    if (metaInfo.getName().equals(WGContent.META_IS_HIDDEN_FROM)) {
View Full Code Here

TOP

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

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.