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

Lukas Ott commented on PLC4X-63:
--------------------------------

[~timbo2k] Is this still the case or is this solved in 0.6 and 0.7 ?

> Substitution of returning null-Values by throwing e.g. 
> UnsupportedOperationException
> ------------------------------------------------------------------------------------
>
>                 Key: PLC4X-63
>                 URL: https://issues.apache.org/jira/browse/PLC4X-63
>             Project: Apache PLC4X
>          Issue Type: Improvement
>            Reporter: Tim Mitsch
>            Priority: Major
>
> abstract FieldItem class holds non abstract methods that return null values - 
> this might cause strange behavior if some of the subClasses have not 
> overridden those methods.
> It may be more intuitive that instead of returning null-values an exception 
> is thrown to make clear that operation fails due to a specific reason 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to