jdave
Class ExpectedExceptionWithMessage<T>
java.lang.Object
jdave.ExpectedException<T>
jdave.ExpectedExceptionWithMessage<T>
- Direct Known Subclasses:
- ExactExpectedExceptionWithMessage
public class ExpectedExceptionWithMessage<T>
- extends ExpectedException<T>
- Author:
- Lasse Koskela, Pekka Enberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
message
protected final String message
ExpectedExceptionWithMessage
public ExpectedExceptionWithMessage(Class<? extends T> type,
String message)
matches
public boolean matches(Throwable t)
- Overrides:
matches in class ExpectedException<T>
error
public String error(Throwable t)
- Overrides:
error in class ExpectedException<T>
Copyright © 2010. All Rights Reserved.