jdave
Class ExactExpectedExceptionWithMessage<T>

java.lang.Object
  extended by jdave.ExpectedException<T>
      extended by jdave.ExpectedExceptionWithMessage<T>
          extended by jdave.ExactExpectedExceptionWithMessage<T>

public class ExactExpectedExceptionWithMessage<T>
extends ExpectedExceptionWithMessage<T>

Author:
Joni Freeman

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

Constructor Detail

ExactExpectedExceptionWithMessage

public ExactExpectedExceptionWithMessage(java.lang.Class<? extends T> type,
                                         java.lang.String message)
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.