OutputError

Outputs the error message associated with any FilterError passed to it; outputs unchanged all lines passed to it as input, except possibly the last.

Header File

outerror.h

Description

An instance of this class is a filter object that outputs unchanged any lines passed to it as input, except possibly the last line (see the 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.

Constructors

Limitations

Known Bugs

Author and Copyright


Author: James MacKay
Last Updated: July 14, 1997
Copyright © 1997 James MacKay