<div dir="ltr"><p style="margin-bottom:12pt;margin-right:0in;margin-left:0in;font-size:11pt;font-family:Calibri,sans-serif">Hi Team,</p>
<p style="margin-left:0.5in;margin-right:0in;font-size:11pt;font-family:Calibri,sans-serif">We are planning to handle errors from backend
services in bmc web. We are considering the following approaches to implement it,
but we are facing some issues. please provide your inputs.<br>
<br>
1 . Using exceptions in our backend D-Bus service by throwing exceptions in
the D-Bus property get handlers. It works fine for the Get property method
call. However, when using the Get All method call, if one property fails, an
error is returned without checking the other properties. Is there a way to
implement exceptions in GetAll so that even if one property fails, we can still
fetch the remaining properties.</p>
<p style="margin-left:0.5in;margin-right:0in;font-size:11pt;font-family:Calibri,sans-serif">2. Using default values in D-Bus properties to
indicate errors. Is there a reference implementation available for setting
default values for string and integer data types in bmc web, similar to the
implementation of NaN (default value) for the double data type in cable.hpp. </p>
<p style="margin-left:0.5in;margin-right:0in;font-size:11pt;font-family:Calibri,sans-serif">3. Implement associated return code per property on
dbus, but this would be very inefficient in terms of double the properties on
dbus, something we would like to avoid</p>
<p style="margin-bottom:12pt;margin-right:0in;margin-left:0in;font-size:11pt;font-family:Calibri,sans-serif">Thanks <br>
Chandrasekhar T.</p></div>