Class JUnitException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArgumentAccessException, ArgumentConversionException, ArgumentsAggregationException, CsvParsingException, ExtensionConfigurationException, ExtensionContextException, 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:
Serialized Form
  • Constructor Details

    • JUnitException

      public JUnitException(String message)
    • JUnitException

      public JUnitException(String message, Throwable cause)