public function __construct() { parent::__construct('Exception'); $this->addProperty(new PropertyOutline('message', new StringOutline())); $this->addProperty(new PropertyOutline('cause', $this, true)); }