Skip to content
Snippets Groups Projects
Commit 41068e4a authored by Alberto Debiasi's avatar Alberto Debiasi
Browse files

Improve error message meaning

Change-Id: I085d0f25115e6acd0804b8d547aa58501191b429
parent 9789b537
No related branches found
No related tags found
No related merge requests found
...@@ -1820,7 +1820,7 @@ public class EntityUtil { ...@@ -1820,7 +1820,7 @@ public class EntityUtil {
if (initialState != null) { if (initialState != null) {
return initialState.getOutgoings(); return initialState.getOutgoings();
} else { } else {
throw new Exception(stateMachine.getName() + " does not have the initial state."); throw new Exception("The state machine of "+((Class) (stateMachine.getOwner())).getName() + " does not have the initial state.");
} }
} }
......
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