GenerateError

Generates a FilterError at a specified point in processing.

Header File

generror.h

Description

An instance of this class is a filter object that, depending upon how it was constructed, will output a FilterError before any input lines are passed to it, after all input lines have been passed to it, or when a specified number of lines have been passed to it. The message from which the FilterError is constructed is also specified when a GenerateError filter is specified.

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.

Constructors

Limitations

Known Bugs

Author and Copyright


Author: James MacKay
Last Updated: June 8, 1997
Copyright © 1997 James MacKay