File size: 2.18Kb
<?php if (!defined('VB_ENTRY')) die('Access denied.');
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.5
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/**
* User Exception
* Exception thrown specifically to notify the user of an error.
* Note: In the case of a user error, the error message will be displayed to the
* user and so should be both user friendly and localised as a phrase.
*
* @package vBulletin
* @author vBulletin Development Team
* @version $Revision: 28674 $
* @since $Date: 2008-12-03 12:56:57 +0000 (Wed, 03 Dec 2008) $
* @copyright vBulletin Solutions Inc.
*/
class vB_Exception_User extends vB_Exception_Reroute
{
/*Initialisation================================================================*/
/**
* Creates a 404 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)
{
// Standard exception initialisation
parent::__construct(vB_Router::get409Path(), $message, $code, $file, $line);
}
}
/*======================================================================*\
|| ####################################################################
|| # SVN: $Revision: 28674 $
|| ####################################################################
\*======================================================================*/