2002-07-23 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / class / corlib / System / SystemException.cs
1 //
2 // System.SystemException.cs
3 //
4 // Author:
5 //   Joe Shaw (joe@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Runtime.Serialization;
11 using System;
12 using System.Globalization;
13
14 namespace System {
15
16         [Serializable]
17         public class SystemException : Exception {
18                 // Constructors
19                 public SystemException ()
20                         : base (Locale.GetText ("A system exception has occurred."))
21                 {
22                 }
23
24                 public SystemException (string message)
25                         : base (message)
26                 {
27                 }
28
29                 protected SystemException(SerializationInfo info, StreamingContext context)
30                         : base (info, context)
31                 {
32                 }
33                 
34                 public SystemException (string message, Exception inner)
35                         : base (message, inner)
36                 {
37                 }
38         }
39 }