Tue May 13 15:34:29 CEST 2003 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / ThreadStateException.cs
1 //
2 // System.Threading.ThreadStateException.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.Serialization;
11
12 namespace System.Threading
13 {
14         [Serializable]
15         public class ThreadStateException : SystemException
16         {
17                 public ThreadStateException()
18                         : base ("Thread State Error") {
19                 }
20
21                 public ThreadStateException(string message)
22                         : base (message) {
23                 }
24
25                 protected ThreadStateException(SerializationInfo info, StreamingContext context)
26                         : base (info, context) {
27                 }
28
29                 public ThreadStateException(string message, Exception innerException)
30                         : base (message, innerException) {
31                 }
32         }
33 }