public function insertGroup(Group $group) { try { return $this->innerGateway->insertGroup($group); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }