open class ThrowsAdviceInterceptor : MethodInterceptor, AfterAdvice
Interceptor to wrap an after-throwing advice.
The signatures on handler methods on the ThrowsAdvice implementation method argument must be of the form: void afterThrowing([Method, args, target], ThrowableSubclass);
Only the last argument is required.
Some examples of valid methods would be:
public void afterThrowing(Exception ex) public void afterThrowing(RemoteException) public void afterThrowing(Method method, Object[] args, Object target, Exception ex) public void afterThrowing(Method method, Object[] args, Object target, ServletException ex)
This is a framework class that need not be used directly by Spring users.
Author
Rod Johnson
Author
Juergen Hoeller
ThrowsAdviceInterceptor(throwsAdvice: Any)
Create a new ThrowsAdviceInterceptor for the given ThrowsAdvice. |
open fun getHandlerMethodCount(): Int |
|
open fun invoke(mi: MethodInvocation): Any |