org.junit.internal
Class AssumptionViolatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.junit.internal.AssumptionViolatedException
- All Implemented Interfaces:
- Serializable, SelfDescribing
public class AssumptionViolatedException
- extends RuntimeException
- implements SelfDescribing
- See Also:
- Serialized Form
AssumptionViolatedException
public AssumptionViolatedException(Object value,
Matcher<?> matcher)
AssumptionViolatedException
public AssumptionViolatedException(String assumption)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
describeTo
public void describeTo(Description description)
- Description copied from interface:
SelfDescribing
- Generates a description of the object. The description may be part of a
a description of a larger object of which this is just a component, so it
should be worded appropriately.
- Specified by:
describeTo
in interface SelfDescribing
- Parameters:
description
- The description to be built or appended to.