public function __construct($testResult) { parent::__construct("ExitTestException", 0, null); $this->testResult = $testResult; }