View Single Post
  #1 (permalink)  
Old 02-26-2003
andreynech andreynech is offline
Registered User
 
Name: Andrey Nechypurenko
Organization: Siemens AG
Project: remotely controled vehicle
 
Join Date: Feb 2003
Location: Munich, Germany
Posts: 36
Classes vs. Exceptions

Hi,

Taking in account the idea of making Slice more simple as CORBA IDL by removing unnecessary and redundant featrues I would like to ask about the motivations to introduce Exceptions as a separate entity. Would not it be possible to allow throwing any structures or classes? I understand that some languages (like Java) expose additional requirements to the type to make it possible to throw it (Throwable) but maybe Slice compiler could be smart enough to generate corresponding code if necessary? I am just curious and would be glad if somebody could comment on this topic.

Thank you,
Andrey.
Reply With Quote