com.googlecode.catchexception.throwable.apis.internal.hamcrest
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.
- Author:
- rwoo
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
ThrowableNoCauseMatcher
public ThrowableNoCauseMatcher()
matches
public boolean matches(Object obj)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2015. All rights reserved.