/** * Creates a 403 exception with the given message * * @param string $message - A user friendly error * @param int $code - The PHP code of the error * @param string $file - The file the exception was thrown from * @param int $line - The line the exception was thrown from */ public function __construct($message = false, $code = false, $file = false, $line = false) { $message = $message ? $message : new vB_Phrase('error', 'access_denied_message'); // Standard exception initialisation parent::__construct(vB_Router::get403Path(), $message, $code, $file, $line); }