2003-12-17 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System.Reflection / TargetInvocationException.cs
1 //
2 // System.Reflection.TargetInvocationException
3 //
4 // Sean MacIsaac (macisaac@ximian.com)
5 // Duncan Mak  (duncan@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.
8
9 using System.Runtime.Serialization;
10
11 namespace System.Reflection
12 {
13         [Serializable]
14         public sealed class TargetInvocationException : ApplicationException
15         {
16                 public TargetInvocationException (Exception inner)
17                         : base ("Exception has been thrown by the target of an invocation.", inner)
18                 {                       
19                 }
20
21                 public TargetInvocationException (string message, Exception inner)
22                         : base (message, inner)
23                 {
24                 }               
25
26                 internal TargetInvocationException (SerializationInfo info, StreamingContext sc)
27                         : base (info, sc)
28                 {
29                 }
30         }       
31 }