Class DiagnosticCodes
java.lang.Object
ca.mcscert.jpipe.compiler.model.DiagnosticCodes
Compiler diagnostic error-code tags embedded in error messages.
Each constant is the bracketed tag that appears at the start of a diagnostic
message, e.g. "[unknown-model] unknown model 'foo'". Centralising
them here makes them greppable and prevents silent drift between the site
that emits a diagnostic and any tooling (tests, IDEs) that matches on the tag
string.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTwo models mutually implement each other, creating a cycle.static final StringA command could not be executed (catch-all for unexpected failures).static final StringAnimplementsdirective could not be applied.static final StringAnAddSupportcommand references an element that does not exist.static final StringA justification model declares more than one conclusion element.static final StringA command references an element ID that does not exist in its model.static final StringA command references a model name that does not exist in the unit.static final StringA qualified override reference appears in a model that does not implement any template.static final StringA command remained unexecuted after all dependency rounds were exhausted. -
Method Summary
-
Field Details
-
SINGLE_CONCLUSION
A justification model declares more than one conclusion element.- See Also:
-
UNRESOLVED_OVERRIDE
A qualified override reference appears in a model that does not implement any template.- See Also:
-
CYCLIC_IMPLEMENTS
Two models mutually implement each other, creating a cycle.- See Also:
-
IMPLEMENTS_ERROR
-
INVALID_SUPPORT
AnAddSupportcommand references an element that does not exist.- See Also:
-
UNKNOWN_MODEL
A command references a model name that does not exist in the unit.- See Also:
-
UNKNOWN_ELEMENT
A command references an element ID that does not exist in its model.- See Also:
-
EXECUTION_ERROR
A command could not be executed (catch-all for unexpected failures).- See Also:
-
UNRESOLVED_SYMBOL
A command remained unexecuted after all dependency rounds were exhausted.- See Also:
-