Module org.junit.platform.commons
Package org.junit.platform.commons.util
Class PreconditionViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.platform.commons.JUnitException
org.junit.platform.commons.util.PreconditionViolationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PreconditionViolationException
@API(status=DEPRECATED,
since="1.5")
@Deprecated
public class PreconditionViolationException
extends JUnitException
Deprecated.
Use PreconditionViolationException instead.
Thrown if a precondition is violated.
- Since:
- 1.0
- See Also:
Preconditions
, Serialized Form
-
Constructor Summary
ConstructorDescriptionPreconditionViolationException(String message)
Deprecated.PreconditionViolationException(String message, Throwable cause)
Deprecated. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreconditionViolationException
Deprecated. -
PreconditionViolationException
Deprecated.
-