libdballe
9.11
|
Exception used to embed processing issues that mean that processing of the current element can safely be skipped. More...
#include <processor.h>
Public Member Functions | |
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) | |
Create a new exception. More... | |
ProcessingException (const std::string &filename, unsigned index, const std::string &msg, const std::exception &original) | |
Create a new exception. More... | |
const char * | what () const noexcept override |
Public Attributes | |
std::string | filename |
unsigned | index |
std::string | msg |
Protected Member Functions | |
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.
|
inline |
Create a new exception.
filename | Input file being processed |
index | Index of the data being processed in the input file |
msg | Error message |
|
inline |
Create a new exception.
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 |
|
inline |
Create a new exception.
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 |