InvocationTargetExceptionNameInvocationTargetExceptionSynopsis
DescriptionAn InvocationTargetException is thrown when a constructor called through Constructor.newInstance(), or a method called through Method.invoke()throws an exception. The InvocationTargetException encapsulates the thrown exception, which can be retrieved using getTargetException(). Class Summary
public class java.lang.reflect.InvocationTargetException extends java.lang.Exception { // Constructors protected InvocationTargetException(); public InvocationTargetException(Throwable target); public InvocationTargetException(Throwable target, String s); // Instance Methods public Throwable getTargetException(); } ConstructorsInvocationTargetExceptionprotected InvocationTargetException()
public InvocationTargetException(Throwable target)
public InvocationTargetException(Throwable target, String s)
Instance MethodsgetNamepublic Throwable getTargetException()
Inherited Methods
See AlsoConstructor, Method, Throwable |
|