authsource = $authsource; $this->reason = $reason; parent::__construct( array( 'AUTHSOURCEERROR', '%AUTHSOURCE%' => htmlspecialchars(var_export($this->authsource, TRUE)), '%REASON%' => htmlspecialchars(var_export($this->reason, TRUE)) ), $cause ); } /** * Retrieve the authsource module name from where this error was thrown. * * @return string Authsource module name. */ public function getAuthSource() { return $this->authsource; } /** * Retrieve the reason why the request was invalid. * * @return string The reason why the request was invalid. */ public function getReason() { return $this->reason; } } ?>