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:
java.io.Serializable
- Direct Known Subclasses:
ConversionException,PreconditionViolationException
@API(status=STABLE, since="1.5") public class JUnitException extends java.lang.RuntimeExceptionBase class for allRuntimeExceptionsthrown by JUnit.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description JUnitException(java.lang.String message)JUnitException(java.lang.String message, java.lang.Throwable cause)protectedJUnitException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
-
Constructor Detail
-
JUnitException
public JUnitException(java.lang.String message)
-
JUnitException
public JUnitException(java.lang.String message, java.lang.Throwable cause)
-
JUnitException
@API(status=MAINTAINED, since="1.13") protected JUnitException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)- Since:
- 1.13
-
-