} catch (IllegalStateException e) {
verifyException(e, "second time");
}
// Also: can't succeed with different buffer
try {
ctxt.releaseReadIOBuffer(new byte[1]);
} catch (IllegalArgumentException e) {
verifyException(e, "not owned");
}
// but call with null is a NOP for convenience
ctxt.releaseReadIOBuffer(null);