今天读书时有这段代码:
public function __construct($path) {
if (!is_dir($path) || !is_writable($path)) {
throw new \Exception("$path must be a valid,writable directory.");
}
$this->destination = $path;
}
这行代码出现在命名空间PHP文件中。我的问题是如果我在命名空间内抛出异常(\ Exception)时不使用全局空间会发生什么?