[jboss-jira] [JBoss JIRA] (DROOLS-1568) Improve error messages when using boxed java functions

Edson Tirelli (JIRA) issues at jboss.org
Fri May 19 08:11:00 EDT 2017


Edson Tirelli created DROOLS-1568:
-------------------------------------

             Summary: Improve error messages when using boxed java functions
                 Key: DROOLS-1568
                 URL: https://issues.jboss.org/browse/DROOLS-1568
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
    Affects Versions: 7.0.0.CR3
            Reporter: Edson Tirelli
            Assignee: Edson Tirelli
             Fix For: 7.1.0.Final


Currently, when the engine does not find the mapped java function (if the user uses an unknown java class or makes a typo in the method signature), it raises an ArrayIndexOutOfBoundsException.

Fix it to properly return a meaningful message to the user, stating the java function was not found.






--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list