Refactored SQL Exceptions to PDOExceptions