com.googlecode.catchexception.throwable.apis.internal.hamcrest
Class ThrowableNoCauseMatcher<T extends Throwable>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by com.googlecode.catchexception.throwable.apis.internal.hamcrest.ThrowableNoCauseMatcher<T>
Type Parameters:
T - an throwable subclass
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class ThrowableNoCauseMatcher<T extends Throwable>
extends org.hamcrest.BaseMatcher<T>

Creates a matcher that matches an throwable that has no cause.

Author:
rwoo

Constructor Summary
ThrowableNoCauseMatcher()
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object obj)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThrowableNoCauseMatcher

public ThrowableNoCauseMatcher()
Method Detail

matches

public boolean matches(Object obj)

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2015. All rights reserved.