Hi there,

The RuntimeException looks better to me.

The only thing I'm not sure about is why you deleted the 'throws'
declaration from Client.java.
Doing that, a client application is not forced to catch the connection
problem.
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.

What do you think about using the RuntimeException and
'public Client() throws OpenNebulaConfigurationError' ?


Best regards,
Carlos.

--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org


On Tue, Apr 12, 2011 at 10:10 AM, Gian Uberto Lauri <sa...@eng.it> wrote:

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

Reply via email to