Class JUnitException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArgumentAccessException, ArgumentConversionException, ArgumentsAggregationException, ConversionException, CsvParsingException, DiscoveryIssueException, ExtensionConfigurationException, ExtensionContextException, NamespacedHierarchicalStoreException, ParameterResolutionException, PreconditionViolationException, TestInstantiationException

@API(status=STABLE, since="1.5") public class JUnitException extends RuntimeException
Base class for all RuntimeExceptions thrown by JUnit.
Since:
1.0
See Also:
  • Constructor Details

    • JUnitException

      public JUnitException(String message)
    • JUnitException

      public JUnitException(String message, Throwable cause)
    • JUnitException

      @API(status=MAINTAINED, since="1.13") protected JUnitException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Since:
      1.13