异常处理
捕获所有异常
捕捉特定异常
引发异常
重新抛出异常
定义异常类型
保证执行代码
方法抛出异常
<?php
//Inherits constructor from base
class
class
SimpleException
extends
Exception { }