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

Method run

src/tsd/GraphHandler.java:366–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364 }
365
366 public void run() {
367 try {
368 execute();
369 } catch (BadRequestException e) {
370 query.badRequest(e.getMessage());
371 } catch (GnuplotException e) {
372 query.badRequest("<pre>" + e.getMessage() + "</pre>");
373 } catch (RuntimeException e) {
374 query.internalError(e);
375 } catch (IOException e) {
376 query.internalError(e);
377 }
378 }
379
380 private void execute() throws IOException {
381 final int nplotted = runGnuplot(query, basepath, plot);

Callers

nothing calls this directly

Calls 4

executeMethod · 0.95
getMessageMethod · 0.65
badRequestMethod · 0.45
internalErrorMethod · 0.45

Tested by

no test coverage detected