X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Ftests%2Fthread5.cs;h=4c9dcc133cabe9d74c203c9d4807f7a38da76d36;hb=0b1f888434049d548f1ce18f9bd7bfb7ca2bde1a;hp=bc974fca47ecf0df7ddcdec0b8967bd98da51bc6;hpb=f1f8b8a867c800b21b6a03767252403c2f72cae2;p=mono.git diff --git a/mono/tests/thread5.cs b/mono/tests/thread5.cs index bc974fca47e..4c9dcc133ca 100644 --- a/mono/tests/thread5.cs +++ b/mono/tests/thread5.cs @@ -3,9 +3,12 @@ using System.Threading; public class MultiThreadExceptionTest { public static void MyThreadStart() { - Console.WriteLine("{0} started", - Thread.CurrentThread.Name); - throw new Exception(); + try { + Console.WriteLine("{0} started", + Thread.CurrentThread.Name); + throw new Exception(); + } catch (Exception) { + } } public static void Main() {