bug fixed for exception sorter

This commit is contained in:
wenshao
2013-04-29 12:56:11 +08:00
parent e253364a13
commit 5462bb1134
15 changed files with 643 additions and 17 deletions
@@ -469,6 +469,12 @@ public class MockConnection extends ConnectionBase implements Connection {
public int getNetworkTimeout() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
public void setReadOnly(boolean readOnly) throws SQLException {
checkState();
super.setReadOnly(readOnly);
}
public void handleSleep() {
if (getConnectProperties() != null) {