Package org.apache.hadoop.hbase.io.hfile
Class TestHFileBlockHeaderCorruption.IsThrowableMatching
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Throwable>
org.apache.hadoop.hbase.io.hfile.TestHFileBlockHeaderCorruption.IsThrowableMatching
- All Implemented Interfaces:
 org.hamcrest.Matcher<Throwable>,org.hamcrest.SelfDescribing
- Enclosing class:
 - TestHFileBlockHeaderCorruption
 
private static final class TestHFileBlockHeaderCorruption.IsThrowableMatching
extends org.hamcrest.TypeSafeMatcher<Throwable>
A Matcher implementation that can make basic assertions over a provided 
Throwable.
 Assertion failures include the full stacktrace in their description.- 
Field Summary
FieldsModifier and TypeFieldDescription - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(Throwable item, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(Throwable throwable) withInstanceOf(Class<?> type) withMessage(org.hamcrest.Matcher<String> matcher) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString 
- 
Field Details
- 
requirements
 
 - 
 - 
Constructor Details
- 
IsThrowableMatching
private IsThrowableMatching() 
 - 
 - 
Method Details
- 
withInstanceOf
 - 
withMessage
public TestHFileBlockHeaderCorruption.IsThrowableMatching withMessage(org.hamcrest.Matcher<String> matcher)  - 
matchesSafely
- Specified by:
 matchesSafelyin classorg.hamcrest.TypeSafeMatcher<Throwable>
 - 
describeMismatchSafely
- Overrides:
 describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<Throwable>
 - 
describeTo
 
 -