All YAML exceptions now keep track of file and line they've been

thrown at, making debugging easier.
This commit is contained in:
Ferdinand Majerech 2011-10-13 11:30:14 +02:00
parent 34b11405d4
commit 8360da733d
9 changed files with 57 additions and 36 deletions

View file

@ -61,12 +61,7 @@ package:
*/
class ScannerException : MarkedYAMLException
{
this(string context, Mark contextMark, string problem, Mark problemMark)
{
super(context, contextMark, problem, problemMark);
}
this(string problem, Mark problemMark){super(problem, problemMark);}
mixin MarkedExceptionCtors;
}
///Generates tokens from data provided by a Reader.