Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / ThreadAbortException.cs
1 //
2 // System.Threading.ThreadAbortException.cs
3 //
4 // Author:
5 //   Dick Porter (dick@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Runtime.CompilerServices;
11
12 namespace System.Threading
13 {
14         [Serializable]
15         public sealed class ThreadAbortException : SystemException
16         {
17                 private ThreadAbortException () : base ("Thread was being aborted") {}
18
19                 public object ExceptionState {
20                         get {
21                                 return Thread.CurrentThread.abort_state;
22                         }
23                 }
24         }
25 }