Package org.openbel.bel.model.BELParseErrorException

Examples of org.openbel.bel.model.BELParseErrorException.DefineAnnotationBeforeUsageException


                            // add to main statement group scope
                            annotationContext.put(name, annotation);
                        }
                    } else if (!name.equals("Citation") && !name.equals("Evidence")) {
                        // throw if annotation is not defined and it's not the intrinsics: Citation or EvidenceLine
                        addError(new DefineAnnotationBeforeUsageException(an.getLine(), an.getCharPositionInLine()));
                    }

                    if (name.equals("Citation")) {
                        // redefinition of citation so clear out citation context
                        citationContext = null;
View Full Code Here

TOP

Related Classes of org.openbel.bel.model.BELParseErrorException.DefineAnnotationBeforeUsageException

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.