I agree too, updating the API means that we could extend the enum entries and I also see the enum choice as more 'elegant'. But I also think that the use of an unsigned short code could be easier to handle and that it is less likely that a legacy app could break if a new code is added (probably it would fall in the default section of a switch). IDL enums don't have an associated ordinal so its representation changes in the different language mappings (some languages could map each entry to a class, others directly to a typed enum, an int...) so maybe its handling would be more difficult. Anyway, I also wonder whether they would have done the same. The restriction about the use of exception inheritance is unfortunate. Regards, Rodrigo.Received on Wednesday, 13 June 2007 16:42:57 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:13:51 GMT