2002-01-23 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / class / corlib / System / FormatException.cs
1 //
2 // System.FormatException.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.Globalization;
11 using System.Runtime.Serialization;
12
13 namespace System {
14
15         public class FormatException : SystemException {
16                 // Constructors
17                 public FormatException ()
18                         : base (Locale.GetText ("Invalid format"))
19                 {
20                 }
21
22                 public FormatException (string message)
23                         : base (message)
24                 {
25                 }
26
27                 public FormatException (string message, Exception inner)
28                         : base (message, inner)
29                 {
30                 }
31
32                 public FormatException (SerializationInfo info,
33                                         StreamingContext context)
34                         : base (info, context)
35                 {
36                 }
37         }
38 }