[
https://issues.apache.org/jira/browse/PLC4X-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630903#comment-17630903
]
Lukas Ott commented on PLC4X-63:
--------------------------------
This issue has been migrated to https://github.com/apache/plc4x/issues/582
> 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.10#820010)