Hi there,<br><br>The RuntimeException looks better to me.<br><br>The only thing I'm not sure about is why you deleted the 'throws' declaration from Client.java.<br>Doing that, a client application is not forced to catch the connection problem.<br>

I think it's better to force the coder to be aware of this kind of problems, and prepare a nice error dialog, or a re-try mechanism.<br><br>What do you think about using the RuntimeException and<br>'public Client() throws OpenNebulaConfigurationError' ?<br>

<br><br>Best regards,<br>Carlos.<br><br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>

<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>


<br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 10:10 AM, Gian Uberto Lauri <span dir="ltr"><<a href="mailto:saint@eng.it">saint@eng.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

According to the last update in  issue #572<br>
<br>
>>>>> "r" == redmine  <<a href="mailto:redmine@opennebula.org">redmine@opennebula.org</a>> writes:<br>
<br>
r> Issue #572 has been updated by Ruben S. Montero.<br>
<br>
r> Target version changed from Release 2.2 to Release 2.4<br>
<br>
r> This is initially scheduled for 2.4<br>
<br>
does the OpenNebula team plan to  include my contribution in the code,<br>
and  if  yes, which  kind  of  exception  (the  Error or  the  Runtime<br>
Exception) ?<br>
<br>
I ask  this because I  am working on  a OVF aware  OCCI implementation<br>
that relies on the OCA API (for Venus-C)  and I wonder if I can use my<br>
modified code now or this spells trouble.<br>
<br>
Zeeshan, your opinion is welcome, too!<br>
<div class="im"><br>
--<br>
ing. Gian Uberto Lauri<br>
Ricercatore / Reasearcher<br>
Laboratorio Ricerca e Sviluppo / Research & Development Lab.<br>
Area Calcolo Distribuito / Distributed Computation Area<br>
<br>
<a href="mailto:GianUberto.Lauri@eng.it">GianUberto.Lauri@eng.it</a><br>
<br>
Engineering Ingegneria Informatica spa<br>
Corso Stati Uniti 23/C, 35127 Padova (PD)<br>
<br>
Tel. <a href="tel:%2B39-049.8283.571" value="+390498283571">+39-049.8283.571</a>         | main(){printf(&unix["\021%six\012\0"],<br>
Fax  <a href="tel:%2B39-049.8283.569" value="+390498283569">+39-049.8283.569</a>             |    (unix)["have"]+"fun"-0x60);}<br>
Skype: gian.uberto.lauri          |          David Korn, AT&T Bell Labs<br>
<a href="http://www.eng.it" target="_blank">http://www.eng.it</a>                         |          ioccc best One Liner, 1987<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br>