Class JUnitException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArgumentAccessException, ArgumentConversionException, ArgumentsAggregationException, CsvParsingException, 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)