2001-11-21 Miguel de Icaza <miguel@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.Globalization;
12
13 namespace System {
14
15         public class SystemException : Exception {
16                 // Constructors
17                 public SystemException ()
18                         : base (Locale.GetText ("A system exception has occurred."))
19                 {
20                 }
21
22                 public SystemException (string message)
23                         : base (message)
24                 {
25                 }
26
27                 protected SystemException(SerializationInfo info, StreamingContext context)
28                         : base (info, context) {
29                 }
30                 
31                 public SystemException (string message, Exception inner)
32                         : base (message, inner)
33                 {
34                 }
35         }
36 }