Hi Mariano > Why you think that is a bad idea? Don't you need (sometimes) to distinguish > between one error and others? for example, don't you need to do or not to > do something depending on the error you received ? Ok, you can have the > error number as an instance variable and then use a switch or if but...I > don't know.
Sure, I do. Usually, the same kind of exception is thrown for an error of the same class and I see OpenDBX errors as one class of errors. The other way round I would have 15 types of exceptions which is too much in my opinion. Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX