mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Use cause message when initializing an SSHRuntimeException from a Throwable.
This commit is contained in:
@@ -34,7 +34,7 @@ public class SSHRuntimeException
|
||||
}
|
||||
|
||||
public SSHRuntimeException(Throwable cause) {
|
||||
this(null, cause);
|
||||
this(cause.getMessage(), cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user