Behavior exception

Behavior exceptions are thrown for the asynchronous simple state when an exception appears on executing asynchronous behavior.

A behavior exception stores an unique pointer to an event when an exception is raised. This event will then be processed by the state machine.