提交 fa0e518e 编写于 作者: S Serge Rider

SSH tunnel detect fix


Former-commit-id: ab4fb7a7
上级 aa145510
......@@ -65,6 +65,9 @@ public class SSHTunnelImpl implements DBWTunnel {
if (implDesc == null) {
implDesc = SSHImplementationRegistry.getInstance().getDescriptor(DEF_IMPLEMENTATION);
}
if (implDesc == null) {
throw new DBException("Can't find SSH tunnel implementation");
}
implementation = implDesc.getImplClass().createInstance(SSHImplementation.class);
} catch (Throwable e) {
throw new DBException("Can't create SSH tunnel implementation", e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册