[ 
https://issues.apache.org/jira/browse/POLYGENE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16443515#comment-16443515
 ] 

Niclas Hedhman edited comment on POLYGENE-122 at 4/19/18 3:36 AM:
------------------------------------------------------------------

Need to figure out how many cases there are, and whether it is all handled by 
the same piece of code.
 # Construction of a Composite - *{color:#14892c}PARAMETER REPORTED{color}*
 # {color:#333333}{color:#14892c}Setting Property to null on Transient{color} 
-{color}
 # Passing null as method argument - {color:#14892c}PARAMETER REPORTED{color}
 # ??


was (Author: niclas):
Need to figure out how many cases there are, and whether it is all handled by 
the same piece of code.
 # Construction of a Composite - *{color:#14892c}PARAMETER REPORTED{color}*
 # {color:#14892c}{color:#333333}Setting Property to null on Transient{color} - 
{color:#d04437}PROPERTY NAME REPORTED{color}{color}
 # {color:#333333}Passing null as method argumen{color}t - 
{color:#14892c}PARAMETER REPORTED{color}
 # ??

> Use parameter names to build better error messages on null barrier faults
> -------------------------------------------------------------------------
>
>                 Key: POLYGENE-122
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-122
>             Project: Polygene
>          Issue Type: Improvement
>            Reporter: Paul Merlin
>            Priority: Major
>             Fix For: 3.1.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
(v7.6.3#76005)

Reply via email to