org.junit.internal.runners.model
Class ReflectiveCallable

java.lang.Object
  extended by org.junit.internal.runners.model.ReflectiveCallable

public abstract class ReflectiveCallable
extends java.lang.Object

When invoked, throws the exception from the reflected method, rather than wrapping it in an InvocationTargetException.


Constructor Summary
ReflectiveCallable()
           
 
Method Summary
 java.lang.Object run()
           
protected abstract  java.lang.Object runReflectiveCall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveCallable

public ReflectiveCallable()
Method Detail

run

public java.lang.Object run()
                     throws java.lang.Throwable
Throws:
java.lang.Throwable

runReflectiveCall

protected abstract java.lang.Object runReflectiveCall()
                                               throws java.lang.Throwable
Throws:
java.lang.Throwable