Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean-up std::terminate usage #261

Closed
3 tasks done
mossmaurice opened this issue Aug 26, 2020 · 0 comments · Fixed by #750
Closed
3 tasks done

Clean-up std::terminate usage #261

mossmaurice opened this issue Aug 26, 2020 · 0 comments · Fixed by #750
Assignees
Labels
refactoring Refactor code without adding features
Milestone

Comments

@mossmaurice
Copy link
Contributor

mossmaurice commented Aug 26, 2020

Brief feature description

Iceoryx often uses std::terminate() instead of errorHandler(). With #130 a clear error handling will be available, afterwards all occurrences should be replaced by calls to the errorHandler.

Detailed information

  • Calling std::terminate is only allowed in building blocks like the errorHandler
  • Replace std::terminate in iceoryx_utils with cxx::Expects, where dependencies shall be avoided to higher level modules
  • Replace std::terminate in iceoryx_posh with cxx::Expects
@mossmaurice mossmaurice self-assigned this Aug 26, 2020
@mossmaurice mossmaurice added the refactoring Refactor code without adding features label Aug 26, 2020
@mossmaurice mossmaurice added this to the v1.x milestone Nov 4, 2020
@mossmaurice mossmaurice added this to To do in v2.x via automation Apr 14, 2021
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 19, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
@mossmaurice mossmaurice added this to To do in Sprints via automation Apr 20, 2021
@mossmaurice mossmaurice moved this from To do to In progress in Sprints Apr 20, 2021
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 21, 2021
…x_utils

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 21, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 21, 2021
…ceoryx_posh

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 21, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 21, 2021
…cator changes and move makeScopedStatic to inl

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 22, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 22, 2021
…m entry

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 22, 2021
…s calls

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 22, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 22, 2021
…back()

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 26, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 26, 2021
…e and simplify out of bounds check in cxx::vector

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 26, 2021
…turn value of AccessController::createACL()

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 26, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
@mossmaurice mossmaurice moved this from To do to In progress in v2.x Apr 27, 2021
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 27, 2021
…o termination

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 27, 2021
…r, use attention doxygen tag and remove redundant comments

Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 27, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
mossmaurice added a commit to ApexAI/iceoryx that referenced this issue Apr 28, 2021
Signed-off-by: Simon Hoinkis <simon.hoinkis@apex.ai>
Sprints automation moved this from In progress to Done Apr 29, 2021
v2.x automation moved this from In progress to Done Apr 29, 2021
mossmaurice added a commit that referenced this issue Apr 29, 2021
Iox #261 Replace std::terminate with Expects/Ensures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Refactor code without adding features
Projects
v2.x
Done
Development

Successfully merging a pull request may close this issue.

1 participant