Top Description Fields Constructors
org.junit.platform.commons

public Class JUnitException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
org.junit.platform.commons.util.PreconditionViolationException
Annotations
@API
status:STABLE
since:1.5
Static Imports
org.apiguardian.api.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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

JUnitExceptionback to summary
public JUnitException(String message)
JUnitExceptionback to summary
public JUnitException(String message, Throwable cause)