/**
* Inserts the given $group.
*
* @param \eZ\Publish\SPI\Persistence\Content\Type\Group $group
*
* @return mixed Group ID
*/
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);
}
}