Class InternalAssumptionViolatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.junit.internal.AssumptionViolatedException
-
- com.carrotsearch.randomizedtesting.InternalAssumptionViolatedException
-
- All Implemented Interfaces:
java.io.Serializable,org.hamcrest.SelfDescribing
class InternalAssumptionViolatedException extends org.junit.internal.AssumptionViolatedExceptionWe have our own "custom" assumption class because of JUnit's internal closed-up architecture.We currently subclass and substitute JUnit's internal AVE, but we could as well have our own exception and handle it properly in
RandomizedRunner.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringmessage
-
Constructor Summary
Constructors Constructor Description InternalAssumptionViolatedException(java.lang.String message)InternalAssumptionViolatedException(java.lang.String message, java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)java.lang.StringgetMessage()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classorg.junit.internal.AssumptionViolatedException
-
describeTo
public void describeTo(org.hamcrest.Description description)
- Specified by:
describeToin interfaceorg.hamcrest.SelfDescribing- Overrides:
describeToin classorg.junit.internal.AssumptionViolatedException
-
-