File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes InvocationTargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "InvocationTargetException" Watch "InvocationTargetException" New topic
Author

InvocationTargetException

Rajkumar Chandrasekaran
Greenhorn

Joined: Nov 23, 2004
Posts: 11
Can anyone please let me know what could be the circumstances that lead to InvocationTargetException

Thanks
Rajkumar
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1817

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.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InvocationTargetException
 
Similar Threads
save method shows exception in hibernate
POI invocation target exception
BeanUtil.CopyPRoperties
Testing private methods using Reflection API
Hibernate Exception