Package com.volantis.synergetics

Examples of com.volantis.synergetics.UndeclaredThrowableException


        try {
            policyNamesIterator = context.getDeviceRepositoryAccessorManager().
                    categoryPolicyNamesIterator(category);
        } catch (RepositoryException e) {
            EclipseCommonPlugin.handleError(ABPlugin.getDefault(), e);
            throw new UndeclaredThrowableException(e);
        }

        List sortedNames = new ArrayList();
        while (policyNamesIterator.hasNext()) {
            sortedNames.add(policyNamesIterator.next());
View Full Code Here


                                rootElementIdentifier);
                    }
                }
            }
        } catch (CoreException e) {
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

                    xPathMappings.remove(xpathAttrValue);
                }
                marker.delete();
            }
        } catch (CoreException e) {
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

        } catch (SAXException e) {
            // this should never happen.
            logger.error("schema-location-could-not-be-set-on-reader",
                    schemaLocation,
                    e);
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

            // this should never happen.
            logger.error(
                    "no-namespace-schema-location-could-not-be-set-on-reader",
                    schemaLocation,
                    e);
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

            validator.setRoot(node);
            // validate the XML
            xmlReader.parse(inputSource);
        } catch (IOException e) {
            throw new UndeclaredThrowableException(e);
        } catch (SAXException e) {
            if (e instanceof TerminateParsingException) {
                // Validation has been forcibly terminated. Take no action.
                if (logger.isDebugEnabled()) {
                    logger.debug("Validation was terminated with a " +
                            "TerminateParsingException", e);
                }
            } else {
                throw new UndeclaredThrowableException(e);
            }
        } catch (ConcurrentModificationException e) {
            // If this happens it indicates that a change has been made to
            // the document being validated while validation is in progress
            // and this change has prevented validation from completing. The
View Full Code Here

        try {
            return (Element)xpath.selectSingleNode(element);
        } catch (XPathException e) {
            // We should not have any XPath errors thrown here so re-throw as
            // unchecked
            throw new UndeclaredThrowableException(e);
        }
    }
View Full Code Here

        this.accessorManager = accessorManager;
        try {
            initializePoliciesToDisplay();
        } catch (RepositoryException e) {
            EclipseCommonPlugin.handleError(ABPlugin.getDefault(), e);
            throw new UndeclaredThrowableException(e);
        }
        setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        createDisplayArea(DevicesMessages.getString(RESOURCE_PREFIX + "title"),
                DevicesMessages.getString(RESOURCE_PREFIX + "message"));
    }
View Full Code Here

        this.maxInstances = 0;
        try {
            format.visit(this, null);
        } catch (FormatVisitorException e) {
            // This should never occur.
            throw new UndeclaredThrowableException(e);
        }
        return maxInstances;
    }
View Full Code Here

        Format root = layout.getRootFormat();
        if (root != null) {
            try {
                root.visit(visitor, null);
            } catch (FormatVisitorException e) {
                throw new UndeclaredThrowableException(e);
            }
        }

        return styleSheet;
    }
View Full Code Here

TOP

Related Classes of com.volantis.synergetics.UndeclaredThrowableException

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.