org.springframework.web.bind.annotation.support
Class HandlerMethodInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.bind.annotation.support.HandlerMethodInvocationException
- All Implemented Interfaces:
- Serializable
public class HandlerMethodInvocationException
- extends NestedRuntimeException
Exception indicating that the execution of an annotated MVC handler method failed.
- Since:
- 2.5.6
- Author:
- Juergen Hoeller
- See Also:
HandlerMethodInvoker.invokeHandlerMethod(java.lang.reflect.Method, java.lang.Object, org.springframework.web.context.request.NativeWebRequest, org.springframework.ui.ExtendedModelMap)
,
Serialized Form
HandlerMethodInvocationException
public HandlerMethodInvocationException(Method handlerMethod,
Throwable cause)
- Create a new HandlerMethodInvocationException for the given Method handle and cause.
- Parameters:
handlerMethod
- the handler method handlecause
- the cause of the invocation failure