You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:12:47 UTC

[jira] [Closed] (BUILDR-232) buildr should print the class of an exception, not just its message

     [ https://issues.apache.org/jira/browse/BUILDR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-232.
-------------------------------


> buildr should print the class of an exception, not just its message
> -------------------------------------------------------------------
>
>                 Key: BUILDR-232
>                 URL: https://issues.apache.org/jira/browse/BUILDR-232
>             Project: Buildr
>          Issue Type: Wish
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.4
>
>         Attachments: BUILDR-232.txt
>
>
> In Java in particular, the class of the exception may mean more than it's message (e.g., NullPointerException has no message). but in standard_exception_handling only the message is printed. (my scenario was that trying to run javac resulted in a message: com/sun/tools/javac/Main which was meaningless to me. adding a print of the class showed it was NoClassDefFoundError, which explained that the environment is not set up correctly)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira