[Mono-devel-list] Hidden Exceptions
sebastien.robitaille at croesus.com
Wed Feb 16 03:14:21 EST 2005
while trying to investigate some performance issues that we have with our product when running under mono, I added a
System.Console.WriteLine in the constructors of the Exception class to see if there was any exception thrown in our code.
I discovered that there are 3 exceptions that are always thrown when starting any application (even a small "Hello World" program).
The exceptions are the following:
 System.OutOfMemoryException: Out of memory
 System.NullReferenceException: A null value was found where an object instance was required
 System.StackOverflowException: The requested operation caused a stack overflow.
I was wondering if these were "real" exceptions or not... Any idea ?
BTW, Is there a better way to print the exceptions thrown by a program running under mono, without interfering with the execution of
More information about the Mono-devel-list