throw exception when don't know key type

This commit is contained in:
Shikhar Bhushan
2010-03-07 12:46:19 +01:00
parent 7a31b23d26
commit 6a2d664425

View File

@@ -508,7 +508,7 @@ public class Buffer<T extends Buffer<T>> {
break;
}
default:
assert false;
throw new SSHRuntimeException("Don't know how to encode key: " + key);
}
return (T) this;
}