Class ExtensionContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.platform.commons.JUnitException
org.junit.jupiter.api.extension.ExtensionContextException
- All Implemented Interfaces:
Serializable
@API(status=STABLE,
since="5.0")
public class ExtensionContextException
extends org.junit.platform.commons.JUnitException
Thrown if an error is encountered regarding the use of an
ExtensionContext or ExtensionContext.Store.
Extensibility
Although it is technically possible to extend this class, extension is strongly discouraged.
- Since:
- 5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionContextException(@Nullable String message) ExtensionContextException(@Nullable String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExtensionContextException
-
ExtensionContextException
-