View Single Post
  #4 (permalink)  
Old 04-07-2008, 12:04 PM
spikey spikey is offline
Member
 
Join Date: Apr 2008
Posts: 2
spikey is on a distinguished road
Your HMSException is not a checked exception on Method.invoke so you will be unable to catch it.

If the invoking method (fun1) throws an exception, invoke with catch this and will in turn throw a InvocationTargetException with your HMSException as the cause.

Hope that helps?
Reply With Quote