Package com.volantis.shared.throwable

Examples of com.volantis.shared.throwable.ExtendedRuntimeException


                    public TextAssetReference getTextFallback() {
                        return null;
                    }
                };
            } catch (RepositoryException e) {
                throw new ExtendedRuntimeException(e);
            }
        } else {
            throw new IllegalStateException("The value is of the wrong type (" +
                    value.getClass().getName() + ") for " +
                    property.getName());
View Full Code Here


        if (root != null) {
            try {
                root.visit(formatInstanceCollector, this);
            } catch (FormatVisitorException e) {
                // We don't expect any exceptions, but just in case...
                throw new ExtendedRuntimeException(
                        exceptionLocalizer.format("unexpected-exception"),
                        e);
            }
        }
View Full Code Here

            try {
                formatInstanceCreator.setIndex(index);
                format.visit(formatInstanceCreator, this);
            } catch (FormatVisitorException e) {
                // We don't expect any exceptions, but just in case...
                throw new ExtendedRuntimeException(
                        exceptionLocalizer.format("unexpected-exception"),
                        e);
            }
            formatInstance = (FormatInstance) formatContextContainer.get(index);
        }
View Full Code Here

                    reference = brander.getBrandedReference(reference,
                            brandName);
                }
            }
        } catch (ExpressionException e) {
            throw new ExtendedRuntimeException(e);
        }
        return reference;
    }
View Full Code Here

        Expression expression;
        try {
            expression = parser.parse(unquotedExpression);
        } catch (ExpressionException e) {
            throw new ExtendedRuntimeException(e);
        }

        RuntimeProject project = projectProvider.getCurrentProject();
        String brandName = getCurrentBrandName();
        return new RuntimePolicyReferenceExpression(project,
View Full Code Here

      XMLPipelineFilter pipelineFilter = null;
        try {
            pipelineFilter =
            factory.createPipelineFilter(pipeline);
        } catch (SAXException se) {
            throw new ExtendedRuntimeException(se);
        }


        // Get hold of a basic parser and set it as the parent of the pipeline
        XMLReader reader = getXMLReader();
View Full Code Here

        public IterationAction next(Node node)  {
            try {
                DOMDissectableNodeAbstract dnode = document.getDissectableNode(node);
                dnode.accept(visitor);
            } catch (DissectionException e) {
                throw new ExtendedRuntimeException(e);
            }
            return IterationAction.CONTINUE;
        }
View Full Code Here

                    null);
            if (url != null) {
                insertImage(parent, url);
            }
        } catch (ProtocolException e) {
            throw new ExtendedRuntimeException(e);
        }
    }
View Full Code Here

            final String url = urlResolver.resolve(value.getUri());
            if (url != null) {
                insertImage(parent, url);
            }
        } catch (RepositoryException e) {
            throw new ExtendedRuntimeException(e);
        } catch (ProtocolException e) {
            throw new ExtendedRuntimeException(e);
        }
    }
View Full Code Here

    public void visit(StyleURI value, Object object) {
        String url = value.getURI();
        try {
            insertImage(parent, url);
        } catch (ProtocolException e) {
            throw new ExtendedRuntimeException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.shared.throwable.ExtendedRuntimeException

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.