libNuML
1.1.1
Library for reading / writing NuML documents
|
Go to the documentation of this file.
28 #include <sbml/xml/XMLError.h>
32 LIBNUML_CPP_NAMESPACE_BEGIN
228 LIBNUML_CPP_NAMESPACE_END
232 LIBNUML_CPP_NAMESPACE_BEGIN
350 const unsigned int errorId = 0
353 ,
const std::string& details =
""
354 ,
const unsigned int line = 0
355 ,
const unsigned int column = 0
381 virtual void print(std::ostream& stream)
const;
388 virtual std::string stringForSeverity(
unsigned int code)
const;
389 virtual std::string stringForCategory(
unsigned int code)
const;
394 LIBNUML_CPP_NAMESPACE_END
Invalid NUML Level and Version.
Definition: NUMLError.h:113
Missing OntologyTerms.
Definition: NUMLError.h:63
Multiple event assignments for the same variable.
Definition: NUMLError.h:53
Multiple annotations using same XML namespace.
Definition: NUMLError.h:61
Category of errors that can occur while validating general NUML constructs.
Definition: NUMLError.h:163
#define BEGIN_C_DECLS
Definition: extern.h:112
General NUML error not falling into another category below.
Definition: NUMLError.h:149
Unknown internal libNUML error.
Definition: NUMLError.h:47
This error code is only a placeholder for errors that have relevance to some versions of NUML but not...
Definition: NUMLError.h:220
Not conformant to NUML XML schema.
Definition: NUMLError.h:50
Invalid MathML.
Definition: NUMLError.h:51
NUMLErrorCode_t
Codes for all NUML-level errors and warnings.
Definition: NUMLError.h:45
contains all error information collected
Definition: NUMLError.h:234
const LIBNUML_CPP_NAMESPACE_BEGIN unsigned int NUML_DEFAULT_LEVEL
Definition: NUMLNamespaces.h:41
Duplicate metaid identifier.
Definition: NUMLError.h:55
Invalid XML namespace for NUML container.
Definition: NUMLError.h:76
#define LIBNUML_EXTERN
Begin svn Header.
Definition: extern.h:104
Definition: NUMLError.h:204
The XML content is invalid for some levels/versions of NUML, and while it may be valid in others,...
Definition: NUMLError.h:212
NUML Level 1 requires strict unit consistency.
Definition: NUMLError.h:105
XML declarations not permitted in constraint messages.
Definition: NUMLError.h:87
Category of errors that can only occur during attempted translation from one Level/Version of NUML to...
Definition: NUMLError.h:152
Invalid sboTerm value for model.
Definition: NUMLError.h:68
NUML Level 1 does not support events.
Definition: NUMLError.h:104
Missing compartment in species definition.
Definition: NUMLError.h:83
NUML Level 2 Version 1 does not support constraints.
Definition: NUMLError.h:107
variable value used in both event assignments and assignment rules
Definition: NUMLError.h:54
Invalid unit identifier syntax.
Definition: NUMLError.h:59
XML DOCTYPE not permitted in constraint messages.
Definition: NUMLError.h:88
NUMLErrorCategory_t
Category codes for NUMLError diagnostics.
Definition: NUMLError.h:145
const unsigned int NUML_DEFAULT_VERSION
Definition: NUMLNamespaces.h:42
#define END_C_DECLS
Definition: extern.h:113
Invalid forward reference in <apply><ci>...</ci></apply> value.
Definition: NUMLError.h:85
Invalid sboTerm value syntax.
Definition: NUMLError.h:56
Annotation on <numl> not permitted in NUML Level 1.
Definition: NUMLError.h:79
Category of errors that can only occur during attempted translation from one Level/Version of NUML to...
Definition: NUMLError.h:158
Mismatched units in assignment rule for compartment.
Definition: NUMLError.h:66
Not UTF8.
Definition: NUMLError.h:48
Definition: NUMLError.h:147
Incorrect ordering of components in model definition.
Definition: NUMLError.h:81
Invalid sboTerm value for function definition.
Definition: NUMLError.h:69
Invalid content for constraint message.
Definition: NUMLError.h:89
XML DOCTYPE not permitted in notes.
Definition: NUMLError.h:74
Invalid expression in function definition.
Definition: NUMLError.h:84
Attribute offset on units only available in NUML Level 2 Version 1.
Definition: NUMLError.h:125
NUMLErrorSeverity_t
Severity codes for NUMLError diagnostics.
Definition: NUMLError.h:195
99999, the upper bound of all libNUML codes.
Definition: NUMLError.h:129
Invalid use of NUML XML namespace in annotation.
Definition: NUMLError.h:62
Invalid sboTerm value for rule.
Definition: NUMLError.h:70
Missing ResultComponents.
Definition: NUMLError.h:64
Definition: NUMLError.h:205
Multiple rules for the same variable.
Definition: NUMLError.h:52
The XML content does not conform to the relevant version of the NUML XML Schema.
Definition: NUMLError.h:207
Definition: NUMLError.h:203
<csymbol> for time used within the <math> of a function definition
Definition: NUMLError.h:115
Missing or inconsistent value for level attribute.
Definition: NUMLError.h:77
Notes not placed in XHTML namespace.
Definition: NUMLError.h:72
XML declarations not permitted in notes.
Definition: NUMLError.h:73
Unrecognized element.
Definition: NUMLError.h:49
Invalid identifier syntax.
Definition: NUMLError.h:58
Lower bound of libNUML-specific codes.
Definition: NUMLError.h:98
Missing model.
Definition: NUMLError.h:80
NUML Level 2 Version 1 requires strict unit consistency.
Definition: NUMLError.h:108
Cannot assign to a constant component in an event assignment.
Definition: NUMLError.h:91
Category of errors that can occur while validating libNUML's internal representation of NUML construc...
Definition: NUMLError.h:179
Missing declaration of XML namespace for annotation.
Definition: NUMLError.h:60
Invalid notes content.
Definition: NUMLError.h:75
Category of errors that can occur while validating symbol identifiers in a numl objects.
Definition: NUMLError.h:169
Invalid metaid value syntax.
Definition: NUMLError.h:57
Unrecognized sboTerm value.
Definition: NUMLError.h:120
A given listOf___, if present, cannot be empty.
Definition: NUMLError.h:82
Invalid sboTerm value for constraint.
Definition: NUMLError.h:71
Cannot convert to NUML Level 1 Version 1.
Definition: NUMLError.h:100
Obsolete sboTerm value.
Definition: NUMLError.h:121
Unknown error.
Definition: NUMLError.h:93
Missing or inconsistent value for version attribute.
Definition: NUMLError.h:78
Constraint message is not in XHTML XML namespace.
Definition: NUMLError.h:86
Model is overdetermined.
Definition: NUMLError.h:67
Units of arguments to function call do not match function's definition.
Definition: NUMLError.h:65
Invalid ordering of rules.
Definition: NUMLError.h:114