|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.jmock.api.ExpectationError
public class ExpectationError
An error thrown when an expectation is violated during a test.
Field Summary | |
---|---|
SelfDescribing |
expectations
|
Invocation |
invocation
|
Constructor Summary | |
---|---|
ExpectationError(String message,
Invocation invocation)
|
|
ExpectationError(String message,
SelfDescribing expectations)
|
|
ExpectationError(String message,
SelfDescribing expectations,
Invocation invocation)
|
Method Summary | |
---|---|
void |
describeTo(Description description)
|
String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final SelfDescribing expectations
public final Invocation invocation
Constructor Detail |
---|
public ExpectationError(String message, SelfDescribing expectations, Invocation invocation)
public ExpectationError(String message, Invocation invocation)
public ExpectationError(String message, SelfDescribing expectations)
Method Detail |
---|
public String toString()
toString
in class Throwable
public void describeTo(Description description)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |