2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.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
12 namespace System
13 {
14         [Serializable]
15         public class SystemException : Exception
16         {
17                 // Constructors
18                 public SystemException ()
19                         : base (Locale.GetText ("A system exception has occurred."))
20                 {
21                 }
22
23                 public SystemException (string message)
24                         : base (message)
25                 {
26                 }
27
28                 protected SystemException(SerializationInfo info, StreamingContext context)
29                         : base (info, context)
30                 {
31                 }
32
33                 public SystemException (string message, Exception inner)
34                         : base (message, inner)
35                 {
36                 }
37         }
38 }