Skip to content
Snippets Groups Projects
Commit 189c9d2e authored by Jan Trávníček's avatar Jan Trávníček
Browse files

Merge branch 'master' of gitlab.fit.cvut.cz:travnja3/automata-library

parents 6779fe91 6e4c0627
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,8 @@ bool DFA::addTransition(const State& from, const alphabet::Symbol& input, const
return false;
else
throw AutomatonException(
"Transition (\"" + (std::string) from.getName() + "\", \"" + (std::string) input + "\") -> \"" + (std::string) to.getName()
+ "\" already exists.");
"Transition from this state and symbol already exists (\"" + (std::string) from.getName() + "\", \"" + (std::string) input + "\") -> \"" + (std::string) to.getName()
+ "\".");
}
transitions.insert(std::make_pair(key, to));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment