For a discussion on Java checked exceptions and C# see: http://www.thecoadletter.com/issues/modeling/coadletter-modeling-090%20excep tional%20strategies.htm
> -----Original Message----- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED]]On Behalf Of Inge Stubdal > Sent: 30 May 2002 08:42 > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] Versioning and Explicit Exception declaration > > > Hi folks! > > Having used Java for a while, I had gotten past the "oh no, more stuff to > write" par of having to explicitly declare which exceptions my methods > throw/don't handle. > > In fact, I had gotten used to the comforts of this - almost like strong > typing - I *know* every handleable exception a component can throw - it is > in the method signature (THROWS clause). > > But this is not possible in C#. Rumour has it that Anders didn't put it in > because it messes up versioning. > > could someone explain why this is? > > (He is also supposed to have said that if someone found a way > around this - > it would get fixed, so anyone..? :)) > > > Regards, > > Inge > > You can read messages from the Advanced DOTNET archive, > unsubscribe from Advanced DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.