public function __construct($stateName, $eventName, $code = 0, \Exception $previous = null)
{
$this->stateName = $stateName;
$this->eventName = $eventName;
$message = 'Current state "' . $stateName . '" doesn\'t have event "' . $eventName . '"';
parent::__construct($message, $code, $previous);
}