Package com.redis.vl.test.vcr
Class VCRCassetteMissingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.redis.vl.test.vcr.VCRCassetteMissingException
- All Implemented Interfaces:
Serializable
Exception thrown when a VCR cassette is not found during playback mode.
This exception indicates that the test expected to find a recorded cassette but none was available. To fix this, run the test in RECORD or PLAYBACK_OR_RECORD mode first.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVCRCassetteMissingException(String cassetteKey, String testId) Creates a new exception. -
Method Summary
Modifier and TypeMethodDescriptionGets the cassette key that was not found.Gets the test identifier.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VCRCassetteMissingException
Creates a new exception.- Parameters:
cassetteKey- the key that was not foundtestId- the test identifier
-
-
Method Details
-
getCassetteKey
Gets the cassette key that was not found.- Returns:
- the cassette key
-
getTestId
Gets the test identifier.- Returns:
- the test ID
-