MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / handleStorageException

Method handleStorageException

src/tsd/PutDataPointRpc.java:836–842  ·  view source on GitHub ↗

Passes a data point off to the storage handler plugin if it has been configured. @param tsdb The TSDB from which to grab the SEH plugin @param dp The data point to process @param e The exception that caused this

(final TSDB tsdb, final IncomingDataPoint dp, 
      final Exception e)

Source from the content-addressed store, hash-verified

834 * @param e The exception that caused this
835 */
836 void handleStorageException(final TSDB tsdb, final IncomingDataPoint dp,
837 final Exception e) {
838 final StorageExceptionHandler handler = tsdb.getStorageExceptionHandler();
839 if (handler != null) {
840 handler.handleError(dp, e);
841 }
842 }
843
844 private void checkAuthorization(final TSDB tsdb, final HttpQuery query) {
845 if (tsdb.getConfig().getBoolean("tsd.core.authentication.enable")) {

Callers 3

executeMethod · 0.95
processDataPointMethod · 0.95
callMethod · 0.80

Calls 2

handleErrorMethod · 0.95

Tested by

no test coverage detected