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

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

[~timbo2k]  is this still valid or can this issue be closed?

> 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.20.1#820001)

Reply via email to