catch exception while executing PDO query
Merge pull request #35 from Serjick/pdo

catch exception while executing PDO query