DDS4CCM 1.0 FTF Avatar
  1. OMG Issue

DDS4CCM_ — why not use an exception instead of a return value for the methods in Getter<>?

  • Key: DDS4CCM_-28
  • Legacy Issue Number: 13963
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    why not use an exception instead of a return value for the methods in Getter<>? On line 28, it should say "return as result" when decided to keep bool. For the time_out, what about making this an argument of all methods, is setting this at this level at the correct level?

  • Reported: DDS4CCM 1.0b1 — Tue, 9 Jun 2009 04:00 GMT
  • Disposition: Resolved — DDS4CCM 1.0b2
  • Disposition Summary:

    Proposed solution
    1. keep the boolean as result and correct the text line 28
    2. let the time_out as an attribute as purpose is to simplify as much as
    possible the API . Reducing the number of parameters goes in that
    direction. We noticed in our systems that time-out value was unlikely to
    change from one call to another, making it a recurring value is therefore
    sensible;

  • Updated: Sat, 7 Mar 2015 00:50 GMT