polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Merlin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZEST-122) Use parameter names to build better error messages on null barrier faults
Date Mon, 07 Sep 2015 15:49:45 GMT
Paul Merlin created ZEST-122:
--------------------------------

             Summary: Use parameter names to build better error messages on null barrier faults
                 Key: ZEST-122
                 URL: https://issues.apache.org/jira/browse/ZEST-122
             Project: Zest
          Issue Type: Improvement
            Reporter: Paul Merlin
             Fix For: 3.0


Parameters to composite's methods must be non-null by default. This can be relaxed using the
@Optional annotation.

This issue is about producing more meaningful error messages, ie. including the parameter
name, when a null parameter is given to a composite's method.

See https://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html
for details on parameter names reflection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message