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.
|
|
| ProcessingException (const std::string &filename, unsigned index, const std::exception &original) |
| Create a new exception.
|
|
| ProcessingException (const std::string &filename, unsigned index, const std::string &msg, const std::exception &original) |
| Create a new exception.
|
|
virtual const char * | what () const throw () |
|
|
std::string | filename |
|
unsigned | index |
|
std::string | msg |
|
|
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.
◆ ProcessingException() [1/3]
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 |
◆ ProcessingException() [2/3]
dballe::cmdline::ProcessingException::ProcessingException |
( |
const std::string & |
filename, |
|
|
unsigned |
index, |
|
|
const std::exception & |
original |
|
) |
| |
|
inline |
Create a new exception.
- Parameters
-
filename | Input file being processed |
index | Index of the data being processed in the input file |
original | (optional) original exception that was caught from the underlying subsystem |
◆ ProcessingException() [3/3]
dballe::cmdline::ProcessingException::ProcessingException |
( |
const std::string & |
filename, |
|
|
unsigned |
index, |
|
|
const std::string & |
msg, |
|
|
const std::exception & |
original |
|
) |
| |
|
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: