unknown exceptions

Renzo Tomaselli renzo.tomaselli@tecnotp.inet.it
Tue, 28 Oct 1997 19:12:15 +0100


Hi,
	as a matter of real life implementations it might happen that a client
method invocation ends up with an unknown exception coming from the actual
implementation. This can happen because of a versions mismatch between the
two as well as because exceptions have to walk through a chain of nested
implementations where the first one doesn't own any static info (IDL) about
subsystems logically far away. OmniORB throws CORBA::MARHSAL system
exceptions in such cases (id lenght overflow or unmatched strcmp()). So the
question is: would it be an OMG specs violation to raise
UnknownUserException (or alike) instead ? Keeping any additional data is an
issue.
All this stuff to avoid an explicit declaration of such an exception for
almost any method in a complex system; system exceptions have not to be
declared, however they cannot carry any additional data (beside that
useless minor code).
Comments are much welcome.
Thanks,

		Renzo Tomaselli      
---------------------------------------------------------------------------
TecnoTP s.n.c. Special Information System Design
Maso Pelauchi I38050 Ronchi Valsugana,  Trento TN  ITALY
Tel. +39 461 773164      Fax. +39 461 773180
e-mail: renzo.tomaselli@tecnotp.inet.it   
---------------------------------------------------------------------------