Class ThrowableNoCauseMatcher<T extends Throwable>

java.lang.Object
org.hamcrest.BaseMatcher<T>
com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableNoCauseMatcher<T>
Type Parameters:
T - an throwable subclass
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class ThrowableNoCauseMatcher<T extends Throwable> extends org.hamcrest.BaseMatcher<T>
Creates a matcher that matches an throwable that has no cause.
  • Constructor Details

    • ThrowableNoCauseMatcher

      public ThrowableNoCauseMatcher()
  • Method Details

    • matches

      public boolean matches(Object obj)
    • describeTo

      public void describeTo(org.hamcrest.Description description)