提交 e4b3f4e5 authored 作者: Thomas Mueller's avatar Thomas Mueller

The wrong exception was thrown when trying to connect to a server if the server was not running.

上级 c0167781
......@@ -327,6 +327,9 @@ public class SessionRemote extends SessionWithState implements SessionFactory, D
Transfer trans = initTransfer(ci, databaseName, servers[i]);
transferList.add(trans);
} catch (IOException e) {
if (len == 1) {
throw DbException.convert(e);
}
switchOffCluster = true;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论