Top Description Fields Constructors
org.junit.platform.commons

public Class PreconditionViolationException

extends PreconditionViolationException
Class Inheritance
Annotations
@API
status:STABLE
since:1.5
@SuppressWarnings:deprecation, exports
Static Imports
org.apiguardian.api.API.Status.STABLE

Deprecated

as a consequence of PreconditionViolationException being deprecated. See corresponding docs for further information.

Thrown if a precondition is violated.
Since
1.5

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 org.junit.platform.commons.util.PreconditionViolationException.serialVersionUID.

Constructor Detail

PreconditionViolationExceptionback to summary
public PreconditionViolationException(String message)
PreconditionViolationExceptionback to summary
public PreconditionViolationException(String message, Throwable cause)