Skip to content

Refactor data sources to throw exceptions instead of returning Optionals #707

Closed
@sebastian-peter

Description

@sebastian-peter

Currently, if reading grid, participant components etc., an empty Optional is returned, accompanied by some error log messages that are writting into console, but which might be missed.

Refactor methods such as CsvSystemParticipantSource#getSystemParticipants, CsvRawGridSource#getGridData etc. to no longer return Optionals, but throw appropriate exceptions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcode qualityCode readability or structure is improved

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions