public function __construct($errorMessage, $errorCode = null) { $this->setErrorCode($errorCode); parent::__construct($errorMessage); }