|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdave.ExpectedException<T>
jdave.ExpectedExceptionWithMessage<T>
public class ExpectedExceptionWithMessage<T>
| Field Summary | |
|---|---|
protected java.lang.String |
message
|
| Fields inherited from class jdave.ExpectedException |
|---|
expected |
| Constructor Summary | |
|---|---|
ExpectedExceptionWithMessage(java.lang.Class<? extends T> type,
java.lang.String message)
|
|
| Method Summary | |
|---|---|
java.lang.String |
error(java.lang.Throwable t)
|
boolean |
matches(java.lang.Throwable t)
|
| Methods inherited from class jdave.ExpectedException |
|---|
matchesType, notThrown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String message
| Constructor Detail |
|---|
public ExpectedExceptionWithMessage(java.lang.Class<? extends T> type,
java.lang.String message)
| Method Detail |
|---|
public boolean matches(java.lang.Throwable t)
matches in class ExpectedException<T>public java.lang.String error(java.lang.Throwable t)
error in class ExpectedException<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||