Package org.openbel.bel.model.BELParseErrorException

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


                    if (!docprop.containsKey(BELDocumentProperty.NAME)) {
                        addError(new DocumentNameException(lastDocumentPropertyLocation, 0));
                    } else if (!docprop.containsKey(BELDocumentProperty.DESCRIPTION)) {
                        addError(new DocumentDescriptionException(lastDocumentPropertyLocation, 0));
                    } else if (!docprop.containsKey(BELDocumentProperty.VERSION)) {
                        addError(new DocumentVersionException(lastDocumentPropertyLocation, 0));
                    } else {
                        if (documentStatementGroup.getStatements().isEmpty()) {
                            // statements are only contained in explicitly-defined statement groups
                            retval.doc = new BELDocument(BELDocumentHeader.create(docprop), adlist, nslist, statementGroups);
                        } else {
View Full Code Here

TOP

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

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.