This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InvocationTargetException

 
Rajkumar Chandrasekaran
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please let me know what could be the circumstances that lead to InvocationTargetException

Thanks
Rajkumar
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An InvocationTargetException occurs when using reflection (and RMI, maybe? It's been a while...) and the method that you are calling throws an exception. The InvocationTargetException's source exception should be the exception that was thrown by the called method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic