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

Method handleError

test/tsd/DummySEHPlugin.java:51–59  ·  view source on GitHub ↗
(IncomingDataPoint dp, Exception exception)

Source from the content-addressed store, hash-verified

49 }
50
51 @Override
52 public void handleError(IncomingDataPoint dp, Exception exception) {
53 if (dp == null) {
54 throw new IllegalArgumentException("Missing Data Point");
55 }
56 if (dp.getValue().equals("42")) {
57 throw new IllegalDataException("Testing");
58 }
59 }
60
61}

Callers 2

validateSEHMethod · 0.45
validateSEHMethod · 0.45

Calls 2

equalsMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected