/** * @param Command $command * @param \Exception $e * @param ServiceLocator $serviceLocator * @throws \Exception */ public function catchException(Command $command, \Exception $e, ServiceLocator $serviceLocator) { $this->transaction->rollback(); throw $e; }