X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Ftests%2Fthread5.cs;h=4c9dcc133cabe9d74c203c9d4807f7a38da76d36;hb=f7bae853845fde93b80f21d3d7fbed16176d6c1c;hp=bc974fca47ecf0df7ddcdec0b8967bd98da51bc6;hpb=d85735e32bfb02e7e5c53075f901bdbf76fcf8c1;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() {