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

__construct() public method

public __construct ( string $message, integer $code, mixed $object, string $id, string $webspaceKey, string $locale, Exception $previous = null )
$message string
$code integer
$object mixed
$id string
$webspaceKey string
$locale string
$previous Exception
    public function __construct($message, $code, $object, $id, $webspaceKey, $locale, \Exception $previous = null)
    {
        parent::__construct($message, $code, $previous);
        $this->object = $object;
        $this->id = $id;
        $this->webspaceKey = $webspaceKey;
        $this->locale = $locale;
    }