generror.h
Filters of this class are usually only used during the debugging or testing of another filter class to make sure that it handles FilterErrors correctly. For more information on FilterErrors see the Filter Classes guide.
GenerateError::before(const String &errMsg)
- will output a
FilterError constructed from errMsg before any input lines are
passed to it
GenerateError::forLine(int lineNum, const String &errMsg)
-
will output a FilterError constructed from errMsg when it
is passed its lineNum`th line of input, provided that
lineNum is positive. If it isn`t, then the constructed
GenerateError filter will output, before any input lines are passed to it,
a FilterError indicating that the line
number passed to GenerateError::forLine()
was invalid
GenerateError::after(const String &errMsg)
- will output a
FilterError constructed from errMsg after all input lines have
been passed to it
GenerateError(const GenerateError &f)
- copy constructor