类 HandlerMethodInvocationException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.web.bind.annotation.support.HandlerMethodInvocationException
- 所有已实现的接口:
Serializable
@Deprecated public class HandlerMethodInvocationException extends NestedRuntimeException
已过时。as of 4.3, in favor of theHandlerMethod
-based MVC infrastructureException indicating that the execution of an annotated MVC handler method failed.
构造器概要
构造器 构造器 说明 HandlerMethodInvocationException(Method handlerMethod, Throwable cause)
已过时。Create a new HandlerMethodInvocationException for the given Method handle and cause.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
HandlerMethodInvocationException
public HandlerMethodInvocationException(Method handlerMethod, Throwable cause)
已过时。Create a new HandlerMethodInvocationException for the given Method handle and cause.- 参数:
handlerMethod
- the handler method handlecause
- the cause of the invocation failure