<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:inherit;}
@font-face
{font-family:Montserrat;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Montserrat SemiBold";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Hi,<br>
I cannot implement the following use case:<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">From bmcweb code, I set RequestedPowerTransition.<br>
>From requestedPowerTransition (phosphor-state-manager) code , I have a bad condition and I reject the transition.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">==> How can I throw something (error code, exception ?) back to bmcweb in order to know what happened exactly ?<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">I was not able to add a "exceptions:" part in yaml around a property to create and throw a specific exception while getting / setting a property, like I did with methods.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">I need to declare (and return) an exception while a property is changing, especially when the transition is not accepted.<o:p></o:p></span></p>
<p style="margin:0cm"><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">I have an old version of openbmc, it may be solved in the new version, but please tell me how to help me eventually patching the needed parts,<o:p></o:p></span></p>
<p style="margin:0cm"><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p> </o:p></span></p>
<p style="margin:0cm"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Best regards,<br>
Francine<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border-collapse:collapse">
<tbody>
<tr>
<td colspan="2" valign="bottom" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:11.25pt;vertical-align:baseline"><b><span style="font-size:7.5pt;font-family:Montserrat;color:#FF6D43">Kind Regards,</span></b><span style="font-size:9.0pt;font-family:Montserrat;color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="100%" style="width:100.0%;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Montserrat SemiBold";color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">Francine Sauvage</span><span lang="EN-US" style="mso-fareast-language:FR"><br>
</span><span lang="EN-US" style="font-size:9.0pt;font-family:Montserrat;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">Team Leader – BDS-RD-PFM</span><span lang="EN-US" style="mso-fareast-language:FR"><br>
</span><span lang="EN-US" style="font-size:9.0pt;font-family:Montserrat;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">M: +33 (1) 6 21 43 11 21</span><span lang="EN-US" style="mso-fareast-language:FR"><br>
</span><span lang="EN-US" style="font-size:9.0pt;font-family:Montserrat;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">Av.
</span><span style="font-size:9.0pt;font-family:Montserrat;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">Jean Jaurès BP68 – 78340 LES CLAYES-SOUS-BOIS – France</span><span style="mso-fareast-language:FR"><br>
<a href="https://eviden.com/" target="_blank"><span style="font-size:9.0pt;font-family:Montserrat;color:black;border:none windowtext 1.0pt;padding:0cm">eviden.com</span></a><br>
</span><a href="https://www.linkedin.com/in/francine-sauvage-consultant" target="_blank" title="LinkedIn"><span style="color:#337AB7;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR;text-decoration:none"><img border="0" width="20" height="20" style="width:.2083in;height:.2083in" id="Image_x0020_1" src="cid:image001.png@01D975CE.6BC3FF20" alt="LinkedIn icon"></span></a><span style="font-size:16.5pt;font-family:inherit;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR"> </span><a href="https://twitter.com/EvidenLive" target="_blank" title="Twitter"><span style="font-size:16.5pt;font-family:inherit;color:#337AB7;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR;text-decoration:none"><img border="0" width="20" height="20" style="width:.2083in;height:.2083in" id="Image_x0020_2" src="cid:image002.png@01D975CE.6BC3FF20" alt="Twitter icon"></span></a><span style="font-size:16.5pt;font-family:inherit;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR"> </span><a href="https://www.instagram.com/evidenlive" target="_blank" title="Instagram"><span style="font-size:16.5pt;font-family:inherit;color:#337AB7;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR;text-decoration:none"><img border="0" width="20" height="20" style="width:.2083in;height:.2083in" id="Image_x0020_3" src="cid:image003.png@01D975CE.6BC3FF20" alt="Instagram icon"></span></a><span style="font-size:16.5pt;font-family:inherit;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR"> </span><a href="https://www.youtube.com/@EvidenLive" target="_blank" title="YouTube"><span style="font-size:16.5pt;font-family:inherit;color:#337AB7;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR;text-decoration:none"><img border="0" width="20" height="20" style="width:.2083in;height:.2083in" id="Image_x0020_4" src="cid:image004.png@01D975CE.6BC3FF20" alt="YouTube icon"></span></a><span style="font-size:16.5pt;font-family:inherit;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR"> </span><a href="https://github.com/frsauvage"><span style="font-family:Montserrat;color:windowtext;text-decoration:none"><img border="0" width="14" height="14" style="width:.15in;height:.15in" id="Image_x0020_23" src="cid:image005.png@01D975CE.6BC3FF20"></span></a><span style="mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal" style="vertical-align:baseline"><span style="mso-fareast-language:FR"><img border="0" width="70" height="22" style="width:.725in;height:.225in" id="Image_x0020_6" src="cid:image006.png@01D975CE.6BC3FF20" alt="Eviden logo"><o:p></o:p></span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:13.5pt;font-family:Montserrat;color:black;display:none;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="250" style="width:187.5pt;border-collapse:collapse">
<tbody>
<tr>
<td valign="bottom" style="border:none;border-top:solid #E2E2E2 2.25pt;padding:7.5pt 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:12.0pt"><span style="font-size:9.0pt;font-family:Montserrat;color:#4A4A4A;mso-fareast-language:FR">an atos business<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:13.5pt;font-family:Montserrat;color:black;display:none;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>