public function loadAutogeneratedEntry($action, $parentId = null) { try { return $this->innerGateway->loadAutogeneratedEntry($action, $parentId); } catch (DBALException $e) { throw new \RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new \RuntimeException('Database error', 0, $e); } }