[omniORB] exceptions as parameters

bjorn rohde jensen bjensen@fastmail.fm
Thu Nov 7 22:41:02 2002


Hi Renzo,

  I am not sure, that passing exceptions as data is legal
in any GIOP version, but i am quite sure, they were not
intended to be used as data. Henning and Vinoski write
something about, that inserting/extracting exceptions
from any's was permitted due to the DSI/DII, and that you
should not use that to bypass the restriction, since
exceptions represent error conditions and not data as such.
  Maybe it makes sense to do this in your case, but i would
try to keep any error mechanism out of the normal (distributed)
program flow.

Yours sincerely,

Bjorn