summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs')
-rw-r--r--src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs b/src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs
new file mode 100644
index 0000000000..b73e0c9a6a
--- /dev/null
+++ b/src/mscorlib/src/System/IO/IsolatedStorage/IsolatedStorageException.cs
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+/*============================================================
+ *
+//
+ *
+ *
+ * Purpose: The exceptions in IsolatedStorage
+ *
+ *
+ ===========================================================*/
+namespace System.IO.IsolatedStorage {
+
+ using System;
+ using System.Runtime.Serialization;
+ [Serializable]
+[System.Runtime.InteropServices.ComVisible(true)]
+ public class IsolatedStorageException : Exception
+ {
+
+#if FEATURE_CORECLR
+ internal Exception m_UnderlyingException;
+#endif
+ public IsolatedStorageException()
+ : base(Environment.GetResourceString("IsolatedStorage_Exception"))
+ {
+ SetErrorCode(__HResults.COR_E_ISOSTORE);
+ }
+
+ public IsolatedStorageException(String message)
+ : base(message)
+ {
+ SetErrorCode(__HResults.COR_E_ISOSTORE);
+ }
+
+ public IsolatedStorageException(String message, Exception inner)
+ : base(message, inner)
+ {
+ SetErrorCode(__HResults.COR_E_ISOSTORE);
+ }
+
+ protected IsolatedStorageException(SerializationInfo info, StreamingContext context) : base (info, context) {
+ }
+ }
+}