/**
* Inserts the given UrlWildcard.
*
* @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard
*
* @return mixed
*/
public function insertUrlWildcard(UrlWildcard $urlWildcard)
{
try {
return $this->innerGateway->insertUrlWildcard($urlWildcard);
} catch (DBALException $e) {
throw new \RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new \RuntimeException('Database error', 0, $e);
}
}