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

Dirk Bergstrom (JIRA) jira-events at jboss.com
Fri Nov 10 15:22:41 EST 2006


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: Mark Proctor
            Priority: Minor


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