public IsThrowableMatching withInstanceOf(Class<?> type) {
      requirements.add(instanceOf(type));
      return this;
    }
A Matcher implementation that can make basic assertions over a provided {@link Throwable}.
Assertion failures include the full stacktrace in their description.
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockHeaderCorruption.java