public class UserExceptionMatcher extends org.hamcrest.TypeSafeMatcher<UserException>
| Constructor and Description |
|---|
UserExceptionMatcher(UserBitShared.DrillPBError.ErrorType expectedType) |
UserExceptionMatcher(UserBitShared.DrillPBError.ErrorType expectedType,
String expectedMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(UserException e,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(UserException e) |
public UserExceptionMatcher(UserBitShared.DrillPBError.ErrorType expectedType, String expectedMessage)
public UserExceptionMatcher(UserBitShared.DrillPBError.ErrorType expectedType)
protected boolean matchesSafely(UserException e)
matchesSafely in class org.hamcrest.TypeSafeMatcher<UserException>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(UserException e, org.hamcrest.Description description)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<UserException>Copyright © 2021 The Apache Software Foundation. All rights reserved.