Class FilibusterShared
- java.lang.Object
-
- cloud.filibuster.instrumentation.instrumentors.FilibusterShared
-
public class FilibusterShared extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FilibusterShared()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.StatusgenerateExceptionFromForcedException(FilibusterClientInstrumentor filibusterClientInstrumentor)static io.grpc.StatusgenerateExceptionFromForcedException(java.lang.String exceptionNameString, java.lang.String codeStr, java.lang.String descriptionStr, java.lang.String causeString, java.lang.String causeMessageString)static java.lang.StringgetForcedExceptionMetadataValue(org.json.JSONObject forcedException, java.lang.String keyName, java.lang.String defaultValue)static java.lang.StringgetForcedExceptionValue(org.json.JSONObject forcedException, java.lang.String keyName, java.lang.String defaultValue)
-
-
-
Method Detail
-
getForcedExceptionValue
public static java.lang.String getForcedExceptionValue(org.json.JSONObject forcedException, java.lang.String keyName, @Nullable java.lang.String defaultValue)
-
getForcedExceptionMetadataValue
public static java.lang.String getForcedExceptionMetadataValue(org.json.JSONObject forcedException, java.lang.String keyName, @Nullable java.lang.String defaultValue)
-
generateExceptionFromForcedException
public static io.grpc.Status generateExceptionFromForcedException(FilibusterClientInstrumentor filibusterClientInstrumentor)
-
generateExceptionFromForcedException
public static io.grpc.Status generateExceptionFromForcedException(java.lang.String exceptionNameString, @Nullable java.lang.String codeStr, @Nullable java.lang.String descriptionStr, @Nullable java.lang.String causeString, @Nullable java.lang.String causeMessageString)
-
-