Exception used to embed processing issues that mean that processing of the current element can safely be skipped.
More...
#include <processor.h>
|
| ProcessingException (const std::string &filename, unsigned index, const std::string &msg) |
| Create a new exception. More...
|
|
| ProcessingException (const std::string &filename, unsigned index, const std::exception &original) |
|
| ProcessingException (const std::string &filename, unsigned index, const std::string &msg, const std::exception &original) |
|
virtual const char * | what () const throw () |
|
|
void | initmsg (const std::string &fname, unsigned index, const char *msg) |
|
Exception used to embed processing issues that mean that processing of the current element can safely be skipped.
When this exception is caught we know, for example, that no output has been produced for the item currently being processed.
dballe::cmdline::ProcessingException::ProcessingException |
( |
const std::string & |
filename, |
|
|
unsigned |
index, |
|
|
const std::string & |
msg |
|
) |
| |
|
inline |
Create a new exception.
- Parameters
-
filename | Input file being processed |
index | Index of the data being processed in the input file |
msg | Error message |
original | (optional) original exception that was caught from the underlying subsystem |
The documentation for this struct was generated from the following file: