[ es ]

Error Codes

This is the list of error code of the program.

Error codes for Core.
Code Message Description
GRPH1 Invalid graph node. When the graph name is empty.
GRPH2 The token is invalid. The name of the token is an empty string, which is invalid.
GRPH3 The grammar file was not defined. The grammar file is not in the default path and the application cannot work.
GRPH5 The grammar is empty. The StartingNode only has a possible son and it name is EndingNode; that implies that there is not a defined grammar.
GRPH6 The given node is null. A Node process function is being called with a null node.
GRPH7 There was a problem while reading the grammar file. There were problems while reading the grammar file.
GRPH8 The grammar tries to put a children in the EndingNode. The EndingNode cannot have sons, and it was attempted to add a son to this node.
GRPH9 The grammar tries to put a parent in the StartingNode. The StartingNode cannot have parents, and it was attempted to a parent to his node.
GRPH10 The StartingNode is referenced by another node: The StartinNode cannot have parents, and it was attempted to a parent to his node.
GRPH11 The EndingNode reference a node: xxx The EndingNode cannot have sons, and it was attempted to add a son to this node.
GRPH12 The duplicated node in the grammar file is: xxx The graph has a node with the same id that the one that is trying to be inserted. The node's id of a graph have to be unique.
GRPH13 Invalid node: XXXX, Not existing node: YYYY Searching a nod that is not part of the descendancy of a given parent.
GRPH14 The Starting Node is not defined in the grammar. The StartingNode is not defined in the graph.
GRPH15 Ending Node not defined in the grammar. The EndingNode is not defined in the graph.
GRPH16 This node does not have EndingNode as descendancy (child) xxx The given node does not go to EndingNode. All nodes have to go to EndingNode.
GRPH17 The next node does not have StartingNode as ancestry (parent) xxx The given node does not come from StartingNode. All nodes have to come from StartingNode.
GRPH18 This node does not exist: xxx It is being called a node that is no defined in the graph.
GRPH19 The operation is not valid for the current graph state (Current State XXXX, needed state YYYY It was attempted to do an operation in the graph, when the graph is in a state that does no permit to do it.
GRPH20 The delimiters are not defined in the grammar file. TIn the grammar file there are not tokens delimiters defined.
GRPH21 The grammar reader was not defined. The grammar reader was not defined in the configuration file of the application.
GRPH22 There was a problem loading the grammar reader: xxx There was an error from an unknown origin in the grammar reader controller.
GRPH23 Invalid form for creating the EndingNode. The EndingNode is not well-defined in the grammar file.
GRPH24 Invalid form for creating the StartingNode. The StartingNode is not well-defined in the grammar file.
GRPH25 The duplicated node name in the grammar file is: xxx. From this node yyy There are two nodes in the graph that represents the same token in the grammar.
GRPH26 Grammar file not found: yyy The grammar file defined in the configuration file cannot be found.
GRPH27 The grammar has not been processed. In order to use the grammar, it has to be read and validated, but it seems that it has not been processed.
UI1 There was a problem from the input reader. There was an unknown problem in the program's input.
UI2 There was a problem writing in the console. There was an unknown problem in the program's output.
CORE1 The following parameter has a null value: xxx It has been tried to pass a null attribute to a given function.
CORE2 General problem: xxx This is a problem out of the scope of this application. It is due to an external component.
CONF1 Invalid structure in configuration file xxx The configuration file is corrupt or the structure cannot be identified.
CONF2 The file not found is xxx The configuration file was not found in the given path.
CONF3 Problem reading the configuration file ( ). Loading default properties. Due to a problem while reading the applications's configuration, the default properties was loaded.
CONF4 There was a problem while reading the configuration file. There was an unknown problem in the configurator.
Error codes for Grammar Reader with XML
Code Message Description
GRXM2 Not Id in node: xxx The id of a token is not defined in the grammar.
GRXM4 Node's id: xxx The name of a token is not defined in the grammar.
GRXM8 There was a problem parsing the grammar file. There was a problem processing the XML file. It could be due to the structure of the XML file (Parse exception or SAX exception.)
GRXM9 There is a node without id nor name. One token in the grammar file does not have an id nor a name in order to identify it.
Error codes for Executer
Code Message Description
EXEC1 Command not found: xxx The typed command does not exist.
EXEC2 There was a problem while executing the command. This problem is related to an untreated condition in the application.
Error Codes for User Interface with jLine
Code Message Description
JLINE1 Exception: - Describes the message of a generated exception cause by a problem. This is useful for bug reporting.
JLINE2 Throwable: ( ) ( ) This describes more specifically the generated problem.
JLINE3 An EOT character was received. Program terminated. This character is the End of Transmission, and it is interpreted as End of the application.