Package org.junit.platform.commons
Class JUnitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.junit.platform.commons.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 allRuntimeExceptionsthrown by JUnit.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JUnitException(String message)JUnitException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-