Changeset 5484 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/TableFileParser.cs
- Timestamp:
- 02/16/11 10:52:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/TableFileParser.cs
r5474 r5484 25 25 using System.IO; 26 26 using System.Linq; 27 using System.Runtime.Serialization; 27 28 using System.Text; 28 29 … … 366 367 } 367 368 #endregion 369 370 [Serializable] 371 private class DataFormatException : Exception { 372 private int line; 373 public int Line { 374 get { return line; } 375 } 376 private string token; 377 public string Token { 378 get { return token; } 379 } 380 public DataFormatException(string message, string token, int line) 381 : base(message + "\nToken: " + token + " (line: " + line + ")") { 382 this.token = token; 383 this.line = line; 384 } 385 386 public DataFormatException(SerializationInfo info, StreamingContext context) : base(info, context) { } 387 } 368 388 } 369 389 }
Note: See TracChangeset
for help on using the changeset viewer.