Google Groups Home
Help | Sign in
Message from discussion Unit tests for JavaCC tokens and productions: InvocationTargetException ?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
AC  
View profile
 More options May 11, 2:13 pm
Newsgroups: comp.compilers.tools.javacc
From: AC <u...@domain.invalid>
Date: Sun, 11 May 2008 14:13:17 -0400
Local: Sun, May 11 2008 2:13 pm
Subject: Re: Unit tests for JavaCC tokens and productions: InvocationTargetException ?
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.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google