org.junit.internal
Class AssumptionViolatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.junit.internal.AssumptionViolatedException
All Implemented Interfaces:
Serializable, SelfDescribing

public class AssumptionViolatedException
extends RuntimeException
implements SelfDescribing

See Also:
Serialized Form

Constructor Summary
AssumptionViolatedException(Object value, Matcher<?> matcher)
           
AssumptionViolatedException(String assumption)
           
 
Method Summary
 void describeTo(Description description)
          Generates a description of the object.
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssumptionViolatedException

public AssumptionViolatedException(Object value,
                                   Matcher<?> matcher)

AssumptionViolatedException

public AssumptionViolatedException(String assumption)
Method Detail

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.