Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.Compilation/CompilationException.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Compilation/CompilationException.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.Compilation/CompilationException.cs b/mcs/class/System.Web/System.Web.Compilation/CompilationException.cs
new file mode 100644
index 00000000000..43c88ab98d3
--- /dev/null
+++ b/mcs/class/System.Web/System.Web.Compilation/CompilationException.cs
@@ -0,0 +1,34 @@
+//
+// System.Web.Compilation.CompilationException
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+
+namespace System.Web.Compilation
+{
+ internal class CompilationException : Exception
+ {
+ CompilationResult result;
+
+ public CompilationException (CompilationResult result)
+ {
+ this.result = result;
+ }
+
+ public CompilationException (string msg, CompilationResult result)
+ {
+ this.result = result;
+ }
+
+ public CompilationException (CompilationCacheItem item)
+ {
+ this.result = item.Result;
+ }
+ }
+}
+