Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection / TargetParameterCountException.cs
1 //
2 // System.Reflection.TargetParameterCountException.cs
3 //
4 // Author: Duncan Mak (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc. http://www.ximian.com
7 //
8
9 using System.Runtime.Serialization;
10 using System.Globalization;
11
12 namespace System.Reflection
13 {
14         [Serializable]
15         public sealed class TargetParameterCountException : ApplicationException
16         {
17                 public TargetParameterCountException ()
18                         : base (Locale.GetText ("Number of parameter does not match expected count."))
19                 {
20                 }
21
22                 public TargetParameterCountException (string message)
23                         : base (message)
24                 {
25                 }
26
27                 public TargetParameterCountException (string message, Exception inner)
28                         : base (message, inner)
29                 {
30                 }
31
32                 internal TargetParameterCountException (SerializationInfo info,
33                                                        StreamingContext context)
34                         : base (info, context)
35                 {
36                 }
37         }
38 }