Commit 48383f9a by Qiang Xue

app end improvement.

parent 43b8430e
......@@ -15,7 +15,7 @@ namespace yii\base;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class ExitException extends Exception
class ExitException extends \Exception
{
/**
* @var integer the exit status code
......@@ -35,12 +35,4 @@ class ExitException extends Exception
$this->statusCode = $status;
parent::__construct($message, $code, $previous);
}
/**
* @return string the user-friendly name of this exception
*/
public function getName()
{
return 'Application Ended';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment