| Constructor and Description |
|---|
ExceptionMatcher(@NotNull Class<? extends Throwable> throwable,
@NotNull Pattern pattern,
@NotNull String message) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static @NotNull ExceptionMatcher |
match(@NotNull Class<? extends Throwable> throwable,
@NotNull String text) |
boolean |
matches(Object o) |
static @NotNull ExceptionMatcher |
matchPrefix(@NotNull Class<? extends Throwable> throwable,
@NotNull String text) |
static @NotNull ExceptionMatcher |
matchRegEx(@NotNull Class<? extends Throwable> throwable,
@NotNull String regEx) |
public boolean matches(Object o)
public void describeTo(org.hamcrest.Description description)
@NotNull public static @NotNull ExceptionMatcher match(@NotNull @NotNull Class<? extends Throwable> throwable, @NotNull @NotNull String text)
@NotNull public static @NotNull ExceptionMatcher matchPrefix(@NotNull @NotNull Class<? extends Throwable> throwable, @NotNull @NotNull String text)
@NotNull public static @NotNull ExceptionMatcher matchRegEx(@NotNull @NotNull Class<? extends Throwable> throwable, @NotNull @NotNull String regEx)
Copyright © 2020. All rights reserved.