Class FilibusterGrpcTestRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- cloud.filibuster.exceptions.filibuster.FilibusterRuntimeException
-
- cloud.filibuster.exceptions.filibuster.FilibusterGrpcTestRuntimeException.FilibusterGrpcTestRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FilibusterGrpcAmbiguousFailureHandlingException,FilibusterGrpcAmbiguousThrowAndErrorPropagationException,FilibusterGrpcAssertionsDidNotHoldUnderErrorResponseException,FilibusterGrpcAssertionsForAssertOnExceptionFailedException,FilibusterGrpcAssertionUsedOutsideFailureBlockException,FilibusterGrpcAssertOnFaultException,FilibusterGrpcAssertTestBlockFailedException,FilibusterGrpcFailedRPCException,FilibusterGrpcInjectedFaultHasUnspecifiedFailureBehaviorException,FilibusterGrpcInvokedRPCUnimplementedException,FilibusterGrpcMissingAssertionForStatusCodeException,FilibusterGrpcMultipleFaultsInjectedException,FilibusterGrpcReadOnlyRPCUsedOutsideAssertOnExceptionAndAssertOnFaultException,FilibusterGrpcSideEffectingRPCUsedOutsideAssertOnExceptionAndAssertOnFaultException,FilibusterGrpcStubbedRPCHasNoAssertionsException,FilibusterGrpcStubForUsedOutsideStubBlockException,FilibusterGrpcSuppressedStatusCodeException,FilibusterGrpcThrownExceptionHasUnspecifiedFailureBehaviorException,FilibusterGrpcVerifyThatUsedOutsideAssertStubException
public abstract class FilibusterGrpcTestRuntimeException extends FilibusterRuntimeException
FilibusterGrpcTestRuntimeExceptionis the abstract superclass of the exceptions that can be thrown from the GRPC test interface.FilibusterGrpcTestRuntimeExceptionand its subclasses are unchecked exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFilibusterGrpcTestRuntimeException(java.lang.String message)Constructs a new Filibuster GRPC runtime exception with the specified detail message.protectedFilibusterGrpcTestRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new Filibuster GRPC runtime exception with the specified detail message and cause.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgenerateFixMessage(java.util.List<java.lang.String> fixMessages)java.lang.StringgenerateSingleFixMessage(java.lang.String descriptionText, java.lang.String linkUrl)abstract java.lang.StringgetFixMessage()Returns the fix message for the exception.
-
-
-
Constructor Detail
-
FilibusterGrpcTestRuntimeException
protected FilibusterGrpcTestRuntimeException(java.lang.String message)
Constructs a new Filibuster GRPC runtime exception with the specified detail message.- Parameters:
message- the detail message.
-
FilibusterGrpcTestRuntimeException
protected FilibusterGrpcTestRuntimeException(java.lang.String message, java.lang.Throwable cause)Constructs a new Filibuster GRPC runtime exception with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause. (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Detail
-
getFixMessage
public abstract java.lang.String getFixMessage()
Returns the fix message for the exception.
-
generateSingleFixMessage
public java.lang.String generateSingleFixMessage(java.lang.String descriptionText, java.lang.String linkUrl)
-
generateFixMessage
public java.lang.String generateFixMessage(java.util.List<java.lang.String> fixMessages)
-
-