public class MethodInvocationException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
MethodInvocationException(MethodSignature methodSignature,
java.lang.Object[] arguments,
java.lang.Throwable cause)
Signals that the method with the specified signature could not be invoked with the provided arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getArguments()
Returns the method invocation arguments.
|
MethodSignature |
getMethodSignature()
Returns the invoked method's signature.
|
java.lang.Throwable |
getTargetException()
Returns the target root cause exception of the method invocation failure.
|
public MethodInvocationException(MethodSignature methodSignature, java.lang.Object[] arguments, java.lang.Throwable cause)
methodSignature - the method signaturearguments - the argumentscause - the root causepublic MethodSignature getMethodSignature()
public java.lang.Object[] getArguments()
public java.lang.Throwable getTargetException()