|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agical.rmock.core.action.ThrowsAction
public class ThrowsAction
(c) Agical AB 2005
Constructor Summary | |
---|---|
ThrowsAction(java.lang.Throwable throwable)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.Object |
invocation(java.lang.Object[] arguments,
MethodHandle methodHandle)
Called when an invocation is made. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThrowsAction(java.lang.Throwable throwable)
Method Detail |
---|
public java.lang.Object invocation(java.lang.Object[] arguments, MethodHandle methodHandle) throws java.lang.Throwable
Action
invocation
in interface Action
arguments
- The arguments passed to the invoked methodmethodHandle
- A method handle that can optionally be used to invoke the equivalent method
of the mocked/intercepted class.
java.lang.Throwable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |