[REDMINE1D-28] [RM-6295] throw execption in resulstore getter Created: 04/Jun/21  Updated: 13/Jun/23  Resolved: 13/Jun/23

Status: Done
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Created on 2021-01-29 09:03:02 by Didier Vibert. % Done: 100

For instance in @COperatorResultStore::GetGlobalResult@ the getter is returning a pointer to an empty result (not a nullptr) when the result asked for is not in the resultstore.

TODO:

  • throw an exceptions in all the getters
  • add a method to query the existence of a result in the store


 Comments   
Comment by yuki.moritani [ 13/Jun/23 ]

Comment by Ali Allaoui on 2021-11-19 16:24:30:
Already done in a previous issue (GetGlobalResult throws an exception and there's 2 methods to check the existence of an operator result, HasDataset and HasCandidateDataset)

Generated at Sat Feb 10 15:28:34 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.