Fixed potential bug with PDOException instead of \PDOException