| 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
InvocationTargetException.getTargetException() method is now known as the cause,
and may be accessed via the
Throwable.getCause method,
as well as the aforementioned "legacy method."
See Also: Method See Also: Constructor |