2002-01-23 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection / CustomAttributeFormatException.cs
1 //
2 // System.Reflection.CustomAttributeFormatException.cs
3 //
4 // Author: Duncan Mak (duncan@ximian.com)
5 //
6 // (C) 2001 Ximian, Inc. http://www.ximian.com
7 //
8
9 using System.Globalization;
10 using System.Runtime.Serialization;
11
12 namespace System.Reflection
13 {
14         [Serializable]
15         public class CustomAttributeFormatException : FormatException
16         {
17                 // Constructors
18                 public CustomAttributeFormatException ()
19                         : base (Locale.GetText ("The Binary format of the custom attribute is invalid."))
20                         {
21                         }
22                 public CustomAttributeFormatException (string message)
23                         : base (message)
24                         {
25                         }
26
27                 public CustomAttributeFormatException (string message, Exception inner)
28                         : base (message, inner)
29                         {
30                         }
31
32                 public CustomAttributeFormatException (SerializationInfo info,
33                                                        StreamingContext context)
34                         {
35                         }
36         }       
37 }
38