2006-11-03 Dick Porter <dick@ximian.com>
[mono.git] / mono / metadata / exception.c
index 99b242deb34a4a36d0a234b960e430ffa818de48..b3bc6652efb4f917e1a88941fd5c4b38bbb6177f 100644 (file)
@@ -204,6 +204,18 @@ mono_get_exception_thread_abort ()
                                         "ThreadAbortException");
 }
 
+/**
+ * mono_get_exception_thread_interrupted:
+ *
+ * Returns: a new instance of the System.Threading.ThreadInterruptedException.
+ */
+MonoException *
+mono_get_exception_thread_interrupted ()
+{
+       return mono_exception_from_name (mono_get_corlib (), "System.Threading",
+                                        "ThreadInterruptedException");
+}
+
 /**
  * mono_get_exception_arithmetic:
  *