Use cause message when initializing an SSHRuntimeException from a Throwable.

This commit is contained in:
David Solin
2016-12-21 07:48:02 -06:00
parent cdca43a848
commit 766ab916ee

View File

@@ -34,7 +34,7 @@ public class SSHRuntimeException
}
public SSHRuntimeException(Throwable cause) {
this(null, cause);
this(cause.getMessage(), cause);
}
}