com.signalfx.signalflow.StreamRequestException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-java Show documentation
Show all versions of signalfx-java Show documentation
Bare minimum core library needed to sending metrics to SignalFx from Java clients
/*
* Copyright (C) 2019 SignalFx, Inc. All rights reserved.
*/
package com.signalfx.signalflow;
import java.util.List;
/**
* Exception thrown when the computation fails at request time, possibly for syntax errors.
*
* @author cwatson
*/
public class StreamRequestException extends RuntimeException {
private static final long serialVersionUID = 1L;
protected int errorCode;
protected String message;
public StreamRequestException(int errorCode, String message) {
super("Computation failed (" + message + ") code: " + errorCode);
this.message = message;
}
public int getErrorCode() {
return this.errorCode;
}
public String getMessage() {
return this.message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy