Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compiler Tools JavaCC > Re: Unit tests ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 532 of 555
Post > Topic >>

Re: Unit tests for JavaCC tokens and productions: InvocationTargetException

by AC <user@[EMAIL PROTECTED] > May 11, 2008 at 02:13 PM

java.lang.reflect.InvocationTargetException is a wrapper exception.  I 
suspect you may be seeing this because test runners like JUnit use 
reflection to inspect a test class and find its test methods, and then 
invoke each test method.  When a test method invoked via reflection 
throws an exception, reflection wraps the exception in an 
InvocationTargetException.   So look inside the wrapper, and find the 
exception that caused it.
 




 3 Posts in Topic:
Unit tests for JavaCC tokens and productions: InvocationTargetEx
Cesare Zecca <Cesare.Z  2008-04-30 06:57:22 
Re: Unit tests for JavaCC tokens and productions: InvocationTarg
AC <user@[EMAIL PROTEC  2008-05-11 14:13:17 
Re: Unit tests for JavaCC tokens and productions:
Cesare Zecca <Cesare.Z  2008-05-21 04:50:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:43:36 CDT 2008.