\Exception
└─Exception
└─DbException
└─PDOException
public class PDOException
extends DbException
| Constructor Summary | |
|---|---|
| void | __construct(\PDOException exception, array config, string sql, int code) PDOException constructor. |
| Methods inherited from think\exception\DbException | |
|---|---|
| __construct | |
| Methods inherited from think\Exception | |
|---|---|
| getData, setData | |
public void __construct(\PDOException exception, array config, string sql, int code)
PDOException constructor.
PDO异常处理类 重新封装了系统的\PDOException类