outerror.h
OutputError::toNextFilter()
constructor below).
In addition, if an OutputError filter is passed a FilterError then
it outputs the error message string from which the FilterError was constructed,
followed by a newline if the error message doesn`t end with one. The
FilterError is also passed on to the next filter.
For more information on FilterErrors see the Filter Classes guide.
OutputError::toNextFilter()
- passes through input lines
unchanged, except that a newline is appended to the last line if it
doesn`t already end in one, and outputs to the next filter the error
message string associated with each Filtererror it is passed
OutputError::toStream(ostream &out)
- passes through its
input unchanged, and outputs to out the error message
string associated with each FilterError it is passed
OutputError(const OutputError &f)
- copy constructor
OutputError::toNextFilter()
will append a newline to
the last line of input passed to it if that line didn`t allready end
with a newline