added condition to verify if a transition is known before throwing an exception
Merge pull request #2 from l-sora/master

added condition to verify if a transition is known before throwing an ex...