jdave
Class ExactExpectedException<T>

java.lang.Object
  extended by jdave.ExpectedException<T>
      extended by jdave.ExactExpectedException<T>

public class ExactExpectedException<T>
extends ExpectedException<T>

Author:
Lasse Koskela

Field Summary
 
Fields inherited from class jdave.ExpectedException
expected
 
Constructor Summary
ExactExpectedException(java.lang.Class<T> expected)
           
 
Method Summary
 boolean matchesType(java.lang.Class<? extends java.lang.Throwable> actual)
           
 
Methods inherited from class jdave.ExpectedException
error, matches, notThrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExactExpectedException

public ExactExpectedException(java.lang.Class<T> expected)
Method Detail

matchesType

public boolean matchesType(java.lang.Class<? extends java.lang.Throwable> actual)
Overrides:
matchesType in class ExpectedException<T>


Copyright © 2008. All Rights Reserved.