[jboss-jira] [JBoss JIRA] Closed: (JBRULES-553) Add newlines in parser error messages

Michael Neale (JIRA) jira-events at lists.jboss.org
Thu Jul 5 00:29:51 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-553?page=all ]

Michael Neale closed JBRULES-553.
---------------------------------

    Resolution: Done

> Add newlines in parser error messages
> -------------------------------------
>
>                 Key: JBRULES-553
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-553
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.4
>            Reporter: Dirk Bergstrom
>         Assigned To: Michael Neale
>            Priority: Minor
>             Fix For:  4.0.0.MR4
>
>
> Some kinds of parser errors get strung together on a single very long line, which makes it irritating to debug problems.  This doozy is 332 characters long:
> org.drools.rule.InvalidRulePackage: Rule Compilation error Class "net.juniper.dash.RUM" has no method named "countPicklistFieldsComparingxTo" Instance method "countPicklistFieldsComparingxTo" cannot be invoked in static context Exception:2 errors while compiling unit "net/juniper/dash/Rule_RLIs_with_missing_func_specs_0.java"
> That's a lot of side-scrolling to figure out what happened.  Breaking it up into four or five lines would greatly increase readability.

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

        



More information about the jboss-jira mailing list