ahgittin/jclouds — comment on commit 4b8496b73928b0d526de001b07df3e61d363c7fe
File:  line 0
By jclouds:

Maybe a testcase like this? (pardon shotgun coding in commit log)

public void testRetryOnToString() {
NullPointerException nex = new NullPointerException();
Properties props = new Properties();
// ensure we test toString on the exception independently
props.setProperty("jclouds.ssh.retryable-messages", nex.toString());
JschSshClient ssh1 = createClient(props);
assert ssh1.shouldRetry(new RuntimeException(nex));
}