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

Christofer Dutz commented on PLC4X-63:
--------------------------------------

For the new drivers, all FieldItem classes have been replaced with PlcValue 
classes and no longer have this problem. However the 0.6 branch is still being 
maintained and I think therefore this might still be valid.

> 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