fix issue#503

This commit is contained in:
Looly
2019-08-21 16:46:05 +08:00
parent 2f2c9e58d2
commit 3928cbb21f
4 changed files with 49 additions and 22 deletions

View File

@@ -285,7 +285,7 @@ public class JschUtil {
} catch (IOException e) {
throw new IORuntimeException(e);
} catch (JSchException e) {
throw new IORuntimeException(e);
throw new JschRuntimeException(e);
} finally {
IoUtil.close(in);
close(channel);