/**
* Inserts a new object state group into database.
*
* @param \eZ\Publish\SPI\Persistence\Content\ObjectState\Group $objectStateGroup
*/
public function insertObjectStateGroup(Group $objectStateGroup)
{
try {
return $this->innerGateway->insertObjectStateGroup($objectStateGroup);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}