Enhancement #5594

Pass exceptions from NodeManagers to callers of Variable methods

Added by Reino Ruusu over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-01-15
Priority:4Due date:2015-01-16
Assignee:Reino Ruusu% Done:

100%

Category:VariableSpent time:-
Target version:1.18.1
Release notes:Exceptions occurring in simulator variable external read requests are now passed on to callers.
Tags: db, propagation, variable, solver
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

Exceptions from the NodeManager are swallowed by the query objects. Instead, the exceptions should be passed on to callers of Variable methods.

Changes:
  • Change NodeValueRequest and NodeStructureRequest to pass the exceptions properly to listeners.
  • Report an internal exception for improperly synchronized implementations of NodeManager.addNodeListener().
    • addNodeListener() should call the listener synchronously, if executed inside the realm.

Associated revisions

Revision 30801
Added by tuorjr over 2 years ago

Pass exceptions properly from node managers to Variable users. (fixes #5594)

History

#1 Updated by Anonymous over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset r30801.

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Release set to 17

#3 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from Resolved to Closed

#4 Updated by Tuukka Lehtonen over 2 years ago

  • Tags set to db, propagation
  • Release notes set to Exceptions occurring in simulator variable external read requests are now passed on to callers.

#5 Updated by Tuukka Lehtonen over 2 years ago

  • Tags changed from db, propagation to db, propagation, solver, variable

Also available in: Atom PDF