public class CausedBy extends TypesafeQuickDiagnoseMatcherBase<Throwable>
| Constructor and Description |
|---|
CausedBy(boolean direct,
org.hamcrest.Matcher<? super Throwable> m) |
| Modifier and Type | Method and Description |
|---|---|
static CausedBy |
causedBy(Class<? extends Throwable> clazz) |
static CausedBy |
causedBy(Class<? extends Throwable> clazz,
org.hamcrest.Matcher<? super Throwable> matcher) |
static CausedBy |
causedBy(Class<? extends Throwable> clazz,
String message) |
static CausedBy |
causedBy(Class<? extends Throwable> clazz,
String message,
org.hamcrest.Matcher<? super Throwable> matcher) |
static CausedBy |
causedBy(org.hamcrest.Matcher<? super Throwable> matcher) |
static CausedBy |
causedBy(String message) |
protected void |
describeMismatchSafely(Throwable ex,
org.hamcrest.Description mismatch) |
void |
describeTo(org.hamcrest.Description description) |
static CausedBy |
directlyCausedBy(Class<? extends Throwable> clazz) |
static CausedBy |
directlyCausedBy(Class<? extends Throwable> clazz,
org.hamcrest.Matcher<? super Throwable> matcher) |
static CausedBy |
directlyCausedBy(Class<? extends Throwable> clazz,
String message) |
static CausedBy |
directlyCausedBy(Class<? extends Throwable> clazz,
String message,
org.hamcrest.Matcher<? super Throwable> matcher) |
static CausedBy |
directlyCausedBy(org.hamcrest.Matcher<? super Throwable> matcher) |
protected boolean |
matchesSafely(Throwable ex) |
protected boolean |
matchesSafely(Throwable ex,
org.hamcrest.Description mismatch) |
describeMismatch, matches, matchesquickMatch, quickMatch_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic CausedBy(boolean direct,
org.hamcrest.Matcher<? super Throwable> m)
protected boolean matchesSafely(Throwable ex)
matchesSafely in class TypesafeQuickDiagnoseMatcherBase<Throwable>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(Throwable ex, org.hamcrest.Description mismatch)
describeMismatchSafely in class TypesafeQuickDiagnoseMatcherBase<Throwable>protected boolean matchesSafely(Throwable ex, org.hamcrest.Description mismatch)
matchesSafely in class TypesafeQuickDiagnoseMatcherBase<Throwable>public static CausedBy causedBy(Class<? extends Throwable> clazz, org.hamcrest.Matcher<? super Throwable> matcher)
public static CausedBy causedBy(Class<? extends Throwable> clazz, String message, org.hamcrest.Matcher<? super Throwable> matcher)
public static CausedBy directlyCausedBy(org.hamcrest.Matcher<? super Throwable> matcher)
public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz, String message)
public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz, org.hamcrest.Matcher<? super Throwable> matcher)
Copyright © 2013. All Rights Reserved.