Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Fri, 12 Feb 2010 17:38:53 +0000 (17:38 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Fri, 12 Feb 2010 17:38:53 +0000 (17:38 -0000)
* InsufficientExecutionStackException.cs: new exception type in 4.0.

svn path=/trunk/mcs/; revision=151638

mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/InsufficientExecutionStackException.cs [new file with mode: 0644]

index ece6f6c16178fb19681451ef6f8414461892d79c..cdd54f0e4afbdb9c8586ae3eb46cb4d5d0622816 100644 (file)
@@ -1,3 +1,8 @@
+
+Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * InsufficientExecutionStackException.cs: new exception type in 4.0.
+
 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * MonoType.cs: Implement GetCustomAttributesData.
diff --git a/mcs/class/corlib/System/InsufficientExecutionStackException.cs b/mcs/class/corlib/System/InsufficientExecutionStackException.cs
new file mode 100644 (file)
index 0000000..6a7706b
--- /dev/null
@@ -0,0 +1,55 @@
+//
+// InsufficientExecutionStackException.cs
+//
+// Author: Paolo Molaro (lupus@ximian.com)
+//
+// Copyright (C) 2010 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_4_0
+
+using System;
+
+namespace System {
+
+       [Serializable]
+       public sealed class InsufficientExecutionStackException : SystemException
+       {
+               public InsufficientExecutionStackException ()
+               : base ("Insufficient execution stack")
+               {
+               }
+
+               public InsufficientExecutionStackException (string message)
+               : base (message)
+               {
+               }
+
+               public InsufficientExecutionStackException (string message, Exception innerException)
+               : base (message, innerException)
+               {
+               }
+       }
+}
+
+#endif
+