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;
}