|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.core.NestedRuntimeException org.springframework.binding.method.MethodInvocationException
public class MethodInvocationException
Base class for exceptions that report a method invocation failure.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodInvocationException(MethodSignature methodSignature, java.lang.Object[] arguments, java.lang.Throwable cause)
methodSignature
- the method signaturearguments
- the argumentscause
- the root causeMethod Detail |
---|
public MethodSignature getMethodSignature()
public java.lang.Object[] getArguments()
public java.lang.Throwable getTargetException()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |