Affects Version/s: None
Fix Version/s: None
In the method examineExpectedInDerbyNetClient, the code validates the error code using the following:
sqlex.getErrorCode() == SqlCode.disconnectError.getCode();
SqlCode is an internal class and our tests shouldn't rely on it. We should probably just use the error code explicitly, or define a testing class that contains some of the error codes that Derby returns.
Also: are our error codes even a documented public interface?