Top Description Fields Constructors
org.junit.platform.commons

public Class JUnitException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
org.junit.platform.commons.PreconditionViolationException, org.junit.platform.commons.support.conversion.ConversionException
Annotations
@API
status:STABLE
since:1.5
Static Imports
org.apiguardian.api.API.Status.MAINTAINED, .API.Status.STABLE

Base class for all RuntimeExceptions thrown by JUnit.
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
protected
JUnitException(@Nullable String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

JUnitExceptionback to summary
public JUnitException(@Nullable String message)
JUnitExceptionback to summary
public JUnitException(@Nullable String message, @Nullable Throwable cause)
JUnitExceptionback to summary
protected JUnitException(@Nullable String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Annotations
@API
status:MAINTAINED
since:1.13
Since
1.13