[genmdesc] Fixed generator to allow instructions lengths equal to 0.
[mono.git] / mcs / class / System.Data / System.Data / SyntaxErrorException.cs
index 53ba5cb66d02f59471f2fbf22113fe1bdb32a866..3d7b6230185f462ba82301e5fbc5ab58d77c0556 100644 (file)
@@ -32,7 +32,8 @@ using System;
 using System.Globalization;
 using System.Runtime.Serialization;
 
-namespace System.Data {
+namespace System.Data
+{
        [Serializable]
        public class SyntaxErrorException : InvalidExpressionException
        {
@@ -41,8 +42,8 @@ namespace System.Data {
                {
                }
 
-               public SyntaxErrorException (string message)
-                       : base (message)
+               public SyntaxErrorException (string s)
+                       : base (s)
                {
                }
 
@@ -51,5 +52,9 @@ namespace System.Data {
                {
                }
 
+               public SyntaxErrorException (String message, Exception innerException)
+                       : base (message, innerException)
+               {
+               }
        }
 }