MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / throwException

Method throwException

test/storage/MockBase.java:359–361  ·  view source on GitHub ↗

Stores an exception so that any operation on the given key will cause it to be thrown. @param key The key to go pear shaped on @param exception The exception to throw

(final byte[] key, final RuntimeException exception)

Source from the content-addressed store, hash-verified

357 * @param exception The exception to throw
358 */
359 public void throwException(final byte[] key, final RuntimeException exception) {
360 throwException(key, exception, true);
361 }
362
363 /**
364 * Stores an exception so that any operation on the given key will cause it

Callers 15

fetchExceptionMethod · 0.80
scannerExceptionMethod · 0.80
scannerExceptionMethod · 0.80
executeHBaseErrorMethod · 0.80
executePleaseThrottleMethod · 0.80
httpHBaseErrorMethod · 0.80

Calls 1

putMethod · 0.80

Tested by

no test coverage detected