Throws an exception if the argument is non-zero.
(final int cell_size)
| 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. |
no outgoing calls
no test coverage detected