2004-01-30 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / SEHException.cs
1 //
2 // System.Runtime.InteropServices.SEHException.cs
3 //
4 // Authors:
5 //    Gonzalo Paniagua Javier <gonzalo@ximian.com>
6 //
7 // (c) 2003 Ximian, Inc. http://www.ximian.com
8 //
9
10 using System.Runtime.Serialization;
11
12 namespace System.Runtime.InteropServices
13 {
14         [Serializable]
15         public class SEHException : ExternalException
16         {
17                 public SEHException ()
18                 {
19                 }
20
21                 public SEHException (string message)
22                         : base (message)
23                 {
24                 }
25
26                 public SEHException (string message, Exception inner)
27                         : base (message, inner)
28                 {
29                 }
30
31                 protected SEHException (SerializationInfo info, StreamingContext context)
32                         : base (info, context)
33                 {
34                 }
35
36                 public virtual bool CanResume ()
37                 {
38                         return false;
39                 }
40         }
41 }
42