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
@Deprecated public class HandlerMethodInvocationException extends NestedRuntimeException
Deprecated.as of 4.3, in favor of theHandlerMethod
-based MVC infrastructureException indicating that the execution of an annotated MVC handler method failed.
Constructor Summary
Constructors Constructor Description HandlerMethodInvocationException(Method handlerMethod, Throwable cause)
Deprecated.Create a new HandlerMethodInvocationException for the given Method handle and cause.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
HandlerMethodInvocationException
public HandlerMethodInvocationException(Method handlerMethod, Throwable cause)
Deprecated.Create a new HandlerMethodInvocationException for the given Method handle and cause.- Parameters:
handlerMethod
- the handler method handlecause
- the cause of the invocation failure