Sulu\Bundle\PreviewBundle\Preview\Exception\TwigException::__construct PHP Method

__construct() public method

public __construct ( Twig_Error $exception, integer $object, mixed $id, string $webspaceKey, string $locale )
$exception Twig_Error
$object integer
$id mixed
$webspaceKey string
$locale string
    public function __construct(\Twig_Error $exception, $object, $id, $webspaceKey, $locale)
    {
        parent::__construct($exception->getMessage(), self::BASE_CODE + 3, $object, $id, $webspaceKey, $locale, $exception);
    }
TwigException