[ 
http://jira.codehaus.org/browse/MOJO-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194119#action_194119
 ] 

Daan Gerits commented on MOJO-1443:
-----------------------------------

The Exception wrapping occurs on line 253 and 258. I think just passing the 
exception instead of the long message would fix the problem:

throw new MojoFailureException( "Error compiling report design : " + src, e);

I would create a patch, but netbeans is making a mess of it (or I am, which is 
practically the same).

> Allow exceptions to be thrown instead of wrapping the exception message
> -----------------------------------------------------------------------
>
>                 Key: MOJO-1443
>                 URL: http://jira.codehaus.org/browse/MOJO-1443
>             Project: Mojo
>          Issue Type: Bug
>          Components: jasperreports
>            Reporter: Daan Gerits
>
> When compiling the jasper reports, all JRExceptions and 
> InclusionScanExceptions will be catched and their message will be wrapped 
> into a MojoFailedException. A lot of information about the catched exception 
> is lost this way. Maybe it is better to wrap the whole catched exception 
> instead of just it's message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to