• Post Reply Bookmark Topic Watch Topic
  • New Topic

InvocationHandler and RuntimException  RSS feed

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If my InvocationHandler.invoke throws a RuntimeException (App specific runtime exception), does it get propogated to the caller. The caller is invoking the actual method on the proxy ofcourse. Any idea how i can catch the runtime exception thrown by the InvocationHandler?
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i read you post 5 times, but all i get is a vague image that you have something like a invocation handler, a caller and a proxy.

spring aop, if i had to guess...?

you need to describe your constellation and your problem way better and more understandable, if you want someone to understand your question and help you.

regards,
jan
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!