Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)

Class java.lang.reflect.InvocationTargetException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.reflect.InvocationTargetException

public class InvocationTargetException
extends Exception

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

See Also:
Method, Constructor

Constructor Index

InvocationTargetException()
InvocationTargetException(Throwable)
Constructs a InvocationTargetException with a target exception.
InvocationTargetException(Throwable, String)
Constructs a InvocationTargetException with a target exception and a detail message.

Method Index

getTargetException()
Get the thrown target exception.

Constructors

InvocationTargetException
 protected InvocationTargetException()
InvocationTargetException
 public InvocationTargetException(Throwable target)
Constructs a InvocationTargetException with a target exception.

InvocationTargetException
 public InvocationTargetException(Throwable target,
                                  String s)
Constructs a InvocationTargetException with a target exception and a detail message.


Methods

getTargetException
 public Throwable getTargetException()
Get the thrown target exception.


Where Am I? Class Hierarchy (JDK) All Classes (JDK) All Fields and Methods (JDK)