Package eu.admire.dispel.parser.exception

Examples of eu.admire.dispel.parser.exception.UnknownTypeException


        throws UnknownTypeException, TypeMismatchException
    {
        Variable var = mExecutionState.getVariables().get(text);
        if (var == null)
        {
            throw new UnknownTypeException(text);
        }
        if (!(var.getType() instanceof ProcessingElementTypeType))
        {
            throw new TypeMismatchException("ProcessingElementTypeType", var.getValue());
        }
View Full Code Here


        throws UnknownTypeException, TypeMismatchException
    {
        Variable var = mExecutionState.getVariables().get(text);
        if (var == null)
        {
            throw new UnknownTypeException(text);
        }
        if (!(var.getType() instanceof ProcessingElementTypeType))
        {
            throw new TypeMismatchException(
                    "ProcessingElementTypeType", var.getValue());
View Full Code Here

            throws UnknownTypeException, TypeMismatchException
    {
        Type supertype = mExecutionState.getUsedProcessingElements().getType(text);
        if (supertype == null)
        {
            throw new UnknownTypeException(text);
        }
        String qName = mExecutionState.getNamespaceManager().resolve(mName);
        Type type = TypeUtils.newSubtypeOf(qName, supertype);
        mExecutionState.getUsedProcessingElements().registerType(qName, type);
        mExecutionState.getNamespaceManager().addUsingDeclaration(qName);
View Full Code Here

    public Type getType(String name) throws UnknownTypeException
    {
        if (!mNames.contains(name))
        {
            throw new UnknownTypeException(name);
        }
        return mTypes.get(name);
    }
View Full Code Here

        throws UnknownTypeException, TypeMismatchException
    {
        Variable var = mExecutionState.getVariables().get(text);
        if (var == null)
        {
            throw new UnknownTypeException(text);
        }
        if (!(var.getType() instanceof ProcessingElementTypeType))
        {
            throw new TypeMismatchException("ProcessingElementTypeType", var.getValue());
        }
View Full Code Here

        throws UnknownTypeException
    {
        Variable var = mExecutionState.getVariables().get(text);
        if (var == null)
        {
            throw new UnknownTypeException(text);
        }
        Type type = var.getType();
        mFunction.setReturnType(type);
    }
View Full Code Here

TOP

Related Classes of eu.admire.dispel.parser.exception.UnknownTypeException

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.