java::lang::InvocationTargetException Class Reference

Inheritance diagram for java::lang::InvocationTargetException:

Inheritance graph
Collaboration diagram for java::lang::InvocationTargetException:

Collaboration graph

List of all members.

Detailed Description

InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The "target exception" that is provided at construction time and accessed via the getTargetException() method is now known as the cause, and may be accessed via the Throwable#getCause() method, as well as the aforementioned "legacy method."

Public Member Functions

 InvocationTargetException (const Ref< Throwable > &target=0, const String &message=nilCString)
 Constructs a InvocationTargetException with a target exception and a detail message.

Constructor & Destructor Documentation

java::lang::InvocationTargetException::InvocationTargetException ( const Ref< Throwable > &  target = 0,
const String message = nilCString 

Constructs a InvocationTargetException with a target exception and a detail message.

target the target exception
s the detail message

The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:38 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3