|
libNuML 1.1.1
Library for reading / writing NuML documents
|
Go to the source code of this file.
Classes | |
| class | NUMLError |
| contains all error information collected More... | |
| enum NUMLErrorCategory_t |
Category codes for NUMLError diagnostics.
Note that these are distinct from XMLError's category codes. User programs receiving an NUMLError object can use this distinction to check whether the error represents a low-level XML problem or an NUML problem.
| enum NUMLErrorCode_t |
Codes for all NUML-level errors and warnings.
These are distinguished from the XML layer (LIBLAX) error codes by being numbered > 10000, while the XML layer's codes are < 9999. Calling programs may wish to check whether a given NUMLError object's error identifier is actually from NUMLErrorCode_t or XMLError::XMLErrorCode_t. This distinction corresponds to whether a given error represents a low-level XML problem or an NUML problem.
| Enumerator | |
|---|---|
| NUMLUnknownError | Unknown internal libNUML error. |
| NUMLNotUTF8 | Not UTF8. |
| NUMLUnrecognizedElement | Unrecognized element. |
| NUMLNotSchemaConformant | Not conformant to NUML XML schema. |
| NUMLInvalidMathElement | Invalid MathML. |
| NUMLMultipleAssignmentOrRateRules | Multiple rules for the same variable. |
| NUMLMultipleEventAssignmentsForId | Multiple event assignments for the same variable. |
| NUMLEventAndAssignmentRuleForId |
|
| NUMLDuplicateMetaId | Duplicate |
| NUMLInvalidSBOTermSyntax | Invalid |
| NUMLInvalidMetaidSyntax | Invalid |
| NUMLInvalidIdSyntax | Invalid identifier syntax. |
| NUMLInvalidUnitIdSyntax | Invalid unit identifier syntax. |
| NUMLMissingAnnotationNamespace | Missing declaration of XML namespace for annotation. |
| NUMLDuplicateAnnotationNamespaces | Multiple annotations using same XML namespace. |
| NUMLNamespaceInAnnotation | Invalid use of NUML XML namespace in annotation. |
| NUMLMissingOntologyTerms | Missing OntologyTerms. |
| NUMLMissingResultComponents | Missing ResultComponents. |
| NUMLInconsistentArgUnits | Units of arguments to function call do not match function's definition. |
| NUMLAssignRuleCompartmentMismatch | Mismatched units in assignment rule for compartment. |
| NUMLOverdeterminedSystem | Model is overdetermined. |
| NUMLInvalidModelSBOTerm | Invalid |
| NUMLInvalidFunctionDefSBOTerm | Invalid |
| NUMLInvalidRuleSBOTerm | Invalid |
| NUMLInvalidConstraintSBOTerm | Invalid |
| NUMLNotesNotInXHTMLNamespace | Notes not placed in XHTML namespace. |
| NUMLNotesContainsXMLDecl | XML declarations not permitted in notes. |
| NUMLNotesContainsDOCTYPE | XML |
| NUMLInvalidNotesContent | Invalid notes content. |
| NUMLInvalidNamespaceOnNUML | Invalid XML namespace for NUML container. |
| NUMLMissingOrInconsistentLevel | Missing or inconsistent value for |
| NUMLMissingOrInconsistentVersion | Missing or inconsistent value for |
| NUMLAnnotationNotesNotAllowedLevel1 | Annotation on |
| NUMLMissingModel | Missing model. |
| NUMLIncorrectOrderInModel | Incorrect ordering of components in model definition. |
| NUMLEmptyListElement | A given |
| NUMLNeedCompartmentIfHaveSpecies | Missing compartment in species definition. |
| NUMLFunctionDefMathNotLambda | Invalid expression in function definition. |
| NUMLInvalidApplyCiInLambda | Invalid forward reference in |
| NUMLConstraintNotInXHTMLNamespace | Constraint message is not in XHTML XML namespace. |
| NUMLConstraintContainsXMLDecl | XML declarations not permitted in constraint messages. |
| NUMLConstraintContainsDOCTYPE | XML |
| NUMLInvalidConstraintContent | Invalid content for constraint message. |
| NUMLEventAssignmentForConstantEntity | Cannot assign to a constant component in an event assignment. |
| NUMLGeneralWarningNotSpecified | Unknown error. |
| LibNUMLAdditionalCodesLowerBound | Lower bound of libNUML-specific codes. |
| NUMLCannotConvertToL1V1 | Cannot convert to NUML Level 1 Version 1. |
| NUMLNoEventsInL1 | NUML Level 1 does not support events. |
| NUMLStrictUnitsRequiredInL1 | NUML Level 1 requires strict unit consistency. |
| NUMLNoConstraintsInL2v1 | NUML Level 2 Version 1 does not support constraints. |
| NUMLStrictUnitsRequiredInL2v1 | NUML Level 2 Version 1 requires strict unit consistency. |
| InvalidNUMLLevelVersion | Invalid NUML Level and Version. |
| NUMLInvalidRuleOrdering | Invalid ordering of rules. |
| NUMLNoTimeSymbolInFunctionDef |
|
| NUMLUnrecognisedSBOTerm | Unrecognized |
| NUMLObseleteSBOTerm | Obsolete |
| NUMLOffsetNotValidAttribute | Attribute |
| NUMLCodesUpperBound | 99999, the upper bound of all libNUML codes. Application-specific codes should begin at 100000. |
| enum NUMLErrorSeverity_t |
Severity codes for NUMLError diagnostics.
These are distinct from XMLError's severity codes.