exception PDO handling