public class AssumptionViolatedException extends RuntimeException implements org.hamcrest.SelfDescribing
Assume,
Serialized Form| Constructor and Description |
|---|
AssumptionViolatedException(Object value,
org.hamcrest.Matcher<?> matcher)
Deprecated.
Please use
AssumptionViolatedException instead. |
AssumptionViolatedException(String assumption)
Deprecated.
Please use
AssumptionViolatedException instead. |
AssumptionViolatedException(String assumption,
boolean hasValue,
Object value,
org.hamcrest.Matcher<?> matcher)
Deprecated.
Please use
AssumptionViolatedException instead. |
AssumptionViolatedException(String assumption,
Object value,
org.hamcrest.Matcher<?> matcher)
Deprecated.
Please use
AssumptionViolatedException instead. |
AssumptionViolatedException(String assumption,
Throwable e)
Deprecated.
Please use
AssumptionViolatedException instead. |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Deprecated public AssumptionViolatedException(String assumption, boolean hasValue, Object value, org.hamcrest.Matcher<?> matcher)
AssumptionViolatedException instead.@Deprecated public AssumptionViolatedException(Object value, org.hamcrest.Matcher<?> matcher)
AssumptionViolatedException instead.Matcher.@Deprecated public AssumptionViolatedException(String assumption, Object value, org.hamcrest.Matcher<?> matcher)
AssumptionViolatedException instead.Matcher.@Deprecated public AssumptionViolatedException(String assumption)
AssumptionViolatedException instead.@Deprecated public AssumptionViolatedException(String assumption, Throwable e)
AssumptionViolatedException instead.public String getMessage()
getMessage in class Throwablepublic void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingCopyright © 2002–2017 JUnit. All rights reserved.