mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-25 22:10:08 +00:00
23 lines
567 B
PHP
23 lines
567 B
PHP
|
<?php
|
||
|
namespace wcf\system\chat\commands;
|
||
|
|
||
|
/**
|
||
|
* Thrown when a user is not found.
|
||
|
*
|
||
|
* @author Tim Düsterhus
|
||
|
* @copyright 2010-2012 Tim Düsterhus
|
||
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||
|
* @package timwolla.wcf.chat
|
||
|
* @subpackage system.chat.commands
|
||
|
*/
|
||
|
class UserNotFoundException extends \Exception {
|
||
|
private $username = '';
|
||
|
|
||
|
public function __construct($username) {
|
||
|
$this->username = $username;
|
||
|
}
|
||
|
|
||
|
public function getUsername() {
|
||
|
return $this->username;
|
||
|
}
|
||
|
}
|