You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
427 B
PHP
25 lines
427 B
PHP
<?php
|
|
|
|
namespace BSR\Lib\Exception;
|
|
|
|
class WebException extends \Exception
|
|
{
|
|
private $exceptionName;
|
|
|
|
/**
|
|
* @param string $name
|
|
* @param string $reason
|
|
* @param int $code
|
|
*/
|
|
function __construct($name, $reason, $code)
|
|
{
|
|
$this->exceptionName = $name;
|
|
parent::__construct($reason, $code);
|
|
}
|
|
|
|
public function getName()
|
|
{
|
|
return $this->exceptionName;
|
|
}
|
|
}
|