I have an exception class that is derived 4 levels from the System.Exception
class.
System.Exception -> BaseApplicationException -> MyBaseException ->
MyException
When I throw a new MyException the code does not compile, says it needs to
be derived from System.Exception
I am on .NET ver 1.1.
I do reference the assembly containing MyException in the code where I am
trying to throw new MyException
Any ideas what could be cause of the error?
TIA
Jon Skeet [C# MVP] - 04 Aug 2004 18:40 GMT
> I have an exception class that is derived 4 levels from the System.Exception
> class.
[quoted text clipped - 11 lines]
>
> Any ideas what could be cause of the error?
Could you post a short but complete program which demonstrates the
problem?
See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too