Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / mscorlib / system / io / isolatedstorage / isolatedstorageexception.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*============================================================
7  *
8  * Class:  IsolatedStorageException
9 // 
10 // <OWNER>Microsoft</OWNER>
11  *
12  *
13  * Purpose: The exceptions in IsolatedStorage
14  *
15  * Date:  Feb 15, 2000
16  *
17  ===========================================================*/
18 namespace System.IO.IsolatedStorage {
19
20     using System;
21     using System.Runtime.Serialization;
22     [Serializable]
23 [System.Runtime.InteropServices.ComVisible(true)]
24     public class IsolatedStorageException : Exception
25     {
26
27 #if FEATURE_CORECLR
28         internal Exception m_UnderlyingException;
29 #endif 
30         public IsolatedStorageException()
31             : base(Environment.GetResourceString("IsolatedStorage_Exception"))
32         {
33             SetErrorCode(__HResults.COR_E_ISOSTORE);
34         }
35
36         public IsolatedStorageException(String message)
37             : base(message)
38         {
39             SetErrorCode(__HResults.COR_E_ISOSTORE);
40         }
41
42         public IsolatedStorageException(String message, Exception inner)
43             : base(message, inner)
44         {
45             SetErrorCode(__HResults.COR_E_ISOSTORE);
46         }
47
48         protected IsolatedStorageException(SerializationInfo info, StreamingContext context) : base (info, context) {
49         }
50     }
51 }