Package org.junit.platform.commons
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
-
- org.junit.platform.commons.PreconditionViolationException
-
- All Implemented Interfaces:
Serializable
@API(status=STABLE, since="1.5") public class PreconditionViolationException extends PreconditionViolationException
Thrown if a precondition is violated.- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreconditionViolationException(String message)
PreconditionViolationException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-