2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System / ContextMarshalException.cs
1 //      
2 // System.ContextMarshalException.cs
3 //
4 // Author:
5 //      Duncan Mak (duncan@ximian.com)
6 //
7 // 2002 (C) Ximian, Inc. http://www.ximian.com
8 //
9
10 using System;
11 using System.Globalization;
12 using System.Runtime.Serialization;
13
14 namespace System
15 {
16         [Serializable]
17         public class ContextMarshalException : SystemException
18         {
19                 // Constructors
20                 public ContextMarshalException ()
21                         : base (Locale.GetText ("Attempt to marshal and object across a context failed."))
22                         {
23                         }
24                 
25                 public ContextMarshalException (string message)
26                         : base (message)
27                         {
28                         }
29                 
30                 protected ContextMarshalException (SerializationInfo info,
31                                                    StreamingContext context)
32                         : base (info, context)
33                         {
34                         }
35                 
36                 public ContextMarshalException (string message, Exception innerException)
37                         :base (message, innerException)
38                         {
39                         }
40                 
41         }
42 }