bsorrentino/maven-annotation-plugin

Don't Swallow Causes

GoogleCodeExporter opened this issue · 3 comments

AbstractAnnotationProcessorMojo swallows the root-cause exception if 
executeWithExceptionsHandled throws. This makes debugging the actual cause of a 
plugin error very difficult.

Attached is a patch that fixes the re-throw to include the root cause correctly.

Original issue reported on code.google.com by eric.dalquist on 21 Jun 2011 at 5:21

Attachments:

thx for feedback

i'll apply patch as soon as possible

Original comment by bartolom...@gmail.com on 21 Jun 2011 at 8:05

  • Changed state: Accepted

Original comment by bartolom...@gmail.com on 22 Jun 2011 at 7:44

  • Changed state: Started
patch applied & deployed on release 2.0.3-SNAPSHOT 

i'll arrange a final release 2.0.3 soon 

thx again

Original comment by bartolom...@gmail.com on 22 Jun 2011 at 8:16

  • Changed state: Fixed