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

Method getException

src/stats/QueryStats.java:718–725  ·  view source on GitHub ↗

@return An exception associated with the query or null if the query returned successfully.

()

Source from the content-addressed store, hash-verified

716 /** @return An exception associated with the query or null if the query
717 * returned successfully. */
718 public String getException() {
719 if (exception == null) {
720 return "null";
721 }
722 return exception.getMessage() +
723 (exception.getStackTrace() != null && exception.getStackTrace().length > 0
724 ? "\n" + exception.getStackTrace()[0].toString() : "");
725 }
726
727 /** @return The HTTP status response for the query */
728 public HttpResponseStatus getHttpResponse() {

Callers 2

markCompleteTimeoutMethod · 0.95
toStringMethod · 0.95

Calls 2

getMessageMethod · 0.65
toStringMethod · 0.45

Tested by 1

markCompleteTimeoutMethod · 0.76