MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / ensureNoCell

Method ensureNoCell

src/HBaseRpc.java:363–371  ·  view source on GitHub ↗

Throws an exception if the argument is non-zero.

(final int cell_size)

Source from the content-addressed store, hash-verified

361 * Throws an exception if the argument is non-zero.
362 */
363 static void ensureNoCell(final int cell_size) {
364 if (cell_size != 0) {
365 throw new InvalidResponseException(
366 "Should not have gotten any cell blocks, yet there are "
367 + cell_size + " bytes that follow the protobuf response."
368 + " This should never happen."
369 + " Are you using an incompatible version of HBase?", null);
370 }
371 }
372
373 /**
374 * The Deferred that will be invoked when this RPC completes or fails.

Callers 5

deserializeMethod · 0.95
deserializeMethod · 0.95
deserializeMethod · 0.95
deserializeMethod · 0.95
deserializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected