Skip to content

Commit

Permalink
Work on DNET-137.
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Dec 15, 2007
1 parent dfc6411 commit 6e2df65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Expand Up @@ -330,7 +330,7 @@ public void Validate()
}
if (this.PacketSize < 512 || this.PacketSize > 32767)
{
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, "'Packet Size' value of {0} is not valid.\r\nThe value should be an integer >= 512 and <= 32767.", this.PacketSize));
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, "'Packet Size' value of {0} is not valid.{1}The value should be an integer >= 512 and <= 32767.", this.PacketSize, Environment.NewLine));
}

this.CheckIsolationLevel();
Expand Down
Expand Up @@ -423,7 +423,7 @@ public virtual void Execute(bool autoCommit)
this.sqlTransaction = null;
}

throw new FbException(string.Format(CultureInfo.CurrentUICulture, "An exception was thrown when executing command: {0}\nBatch execution aborted\nThe returned message was: {1}", sqlStatement, ex.Message));
throw new FbException(string.Format(CultureInfo.CurrentUICulture, "An exception was thrown when executing command: {0}{2}Batch execution aborted{2}The returned message was: {1}", sqlStatement, ex.Message, Environment.NewLine));
}
}

Expand Down
3 changes: 2 additions & 1 deletion NETProvider/source/FirebirdSql/Data/Isql/StringParser.cs
Expand Up @@ -38,7 +38,8 @@ namespace FirebirdSql.Data.Isql
/// while (currentIndex &lt; s.Length) {
/// Console.WriteLine("Returned Index: {0}", currentIndex = parser.ParseNext());
/// Console.WriteLine("Chars scanned: {0}", parser.CharsParsed);
/// Console.WriteLine("Parsing result: {0}\n", parser.Result);
/// Console.WriteLine("Parsing result: {0}", parser.Result);
/// Console.WriteLine();
/// }
/// }
/// </code>
Expand Down

0 comments on commit 6e2df65

Please sign in to comment.