Fixed PDOException::getCode() string vs. int mismatch.