How to get BindException reference inside my Aspect?
- From: "MW" <wadhwamanish@xxxxxxxxx>
- Date: 30 Aug 2006 22:58:07 -0700
Hello,
I am using Spring Aspect to trap any Exception while
onSubmit(Request,Response,CommandObject,BindException) inside a
SimpleFormController.
The aspect is configured to act on proxy object for
org.springframework.web.servlet.mvc.Controller, so my methodInvocation
object ultimatelly wraps around handleRequest(Request,Response)
FYI, Inside my aspect I am using
public Object invoke(MethodInvocation methodInvocation) throws
Throwable {
try
{
methodInvocation.proceed();
}
catch(Exception ex)
{
---
}
}
Is there any way I can get BindException reference which was passed as
a parameter to onSubmit().
Thanks,
-MW
.
- Prev by Date: Re: Where can I find SNTP server in Java?
- Next by Date: Re: How to edit the GUI source code?
- Previous by thread: Framework for import plain text files into databases
- Next by thread: How equals method works in StringBuffer?
- Index(es):