/** * Let store decide what to do when the dispatch process failed * @param Action $action * @return EventsGenerator * @throws StoreNotRunnableException */ public function onDispatchFailure($action) { throw new StoreNotRunnableException("Cant' dispatch action " . $action->__toString() . " on store " . $this->getName() . " : It does not match anything"); }