We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d673e5 commit f74e4bdCopy full SHA for f74e4bd
src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java
@@ -1168,9 +1168,10 @@ public void testCallableStatementDefaultValues() throws SQLException {
1168
rs.next();
1169
fail(TestResource.getResource("R_expectedFailPassed"));
1170
1171
- } catch (NullPointerException npe) {
1172
- assertEquals(TestResource.getResource("R_nullPointerExceptionFromResultSet"),
1173
- npe.getMessage());
+ } catch (Exception e) {
+ assertTrue(TestResource
+ .getResource("R_nullPointerExceptionFromResultSet").equalsIgnoreCase(e.getMessage())
1174
+ || e.getMessage().equals(null));
1175
}
1176
1177
try (CallableStatement cstmt = connection.prepareCall(call1)) {
0 commit comments