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 Details

    • ExtensionContextException

      public ExtensionContextException(@Nullable String message)
    • ExtensionContextException

      @API(status=MAINTAINED, since="5.13.3") public ExtensionContextException(@Nullable String message, Throwable cause)