added errorMessage class into the PDO exception