public class

HandlerMethodInvocationException

extends NestedRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.web.bind.annotation.support.HandlerMethodInvocationException

Class Overview

Exception indicating that the execution of an annotated MVC handler method failed.

Summary

Public Constructors
HandlerMethodInvocationException(Method handlerMethod, Throwable cause)
Create a new HandlerMethodInvocationException for the given Method handle and cause.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public HandlerMethodInvocationException (Method handlerMethod, Throwable cause)

Create a new HandlerMethodInvocationException for the given Method handle and cause.

Parameters
handlerMethod the handler method handle
cause the cause of the invocation failure