libdballe  6.8
Public Member Functions | Data Fields | Protected Member Functions
dballe::cmdline::ProcessingException Struct Reference

Exception used to embed processing issues that mean that processing of the current element can safely be skipped. More...

#include <processor.h>

Inheritance diagram for dballe::cmdline::ProcessingException:

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)
 
 ProcessingException (const std::string &filename, unsigned index, const std::string &msg, const std::exception &original)
 
virtual const char * what () const throw ()
 

Data Fields

std::string msg
 

Protected Member Functions

void initmsg (const std::string &fname, unsigned index, const char *msg)
 

Detailed Description

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.

Constructor & Destructor Documentation

dballe::cmdline::ProcessingException::ProcessingException ( const std::string &  filename,
unsigned  index,
const std::string &  msg 
)
inline

Create a new exception.

Parameters
filenameInput file being processed
indexIndex of the data being processed in the input file
msgError message
original(optional) original exception that was caught from the underlying subsystem

The documentation for this struct was generated from the following file: