Pothos
0.4.1-gb758ed46
The Pothos dataflow programming software suite
|
#include <Exception.hpp>
Public Member Functions | |
DataException (int code=0) | |
DataException (const std::string &msg, int code=0) | |
DataException (const std::string &msg, const std::string &arg, int code=0) | |
DataException (const std::string &msg, const Pothos::Exception &exc, int code=0) | |
DataException (const DataException &exc) | |
~DataException () throw () | |
DataException & | operator= (const DataException &exc) |
const char * | name () const throw () |
Assignment operator. More... | |
const char * | className () const throw () |
Returns a static string describing the exception. More... | |
Pothos::Exception * | clone () const |
void | rethrow () const |
Public Member Functions inherited from Pothos::RuntimeException | |
RuntimeException (int code=0) | |
RuntimeException (const std::string &msg, int code=0) | |
RuntimeException (const std::string &msg, const std::string &arg, int code=0) | |
RuntimeException (const std::string &msg, const Pothos::Exception &exc, int code=0) | |
RuntimeException (const RuntimeException &exc) | |
~RuntimeException () throw () | |
RuntimeException & | operator= (const RuntimeException &exc) |
Public Member Functions inherited from Pothos::Exception | |
Exception (const std::string &msg, int code=0) | |
Exception (const std::string &msg, const std::string &arg, int code=0) | |
Creates an exception. More... | |
Exception (const std::string &msg, const Exception &nested, int code=0) | |
Creates an exception. More... | |
Exception (const Exception &exc) | |
~Exception () throw () | |
Copy constructor. More... | |
Exception & | operator= (const Exception &exc) |
Destroys the exception and deletes the nested exception. More... | |
virtual const char * | what () const throw () |
Returns the name of the exception class. More... | |
const Exception * | nested () const |
const std::string & | message () const |
int | code () const |
Returns the message text. More... | |
std::string | displayText () const |
Returns the exception code if defined. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Pothos::Exception | |
Exception (int code=0) | |
void | message (const std::string &msg) |
Standard constructor. More... | |
void | extendedMessage (const std::string &arg) |
Sets the message for the exception. More... | |
Pothos::DataException::DataException | ( | int | code = 0 | ) |
Pothos::DataException::DataException | ( | const std::string & | msg, |
int | code = 0 |
||
) |
Pothos::DataException::DataException | ( | const std::string & | msg, |
const std::string & | arg, | ||
int | code = 0 |
||
) |
Pothos::DataException::DataException | ( | const std::string & | msg, |
const Pothos::Exception & | exc, | ||
int | code = 0 |
||
) |
Pothos::DataException::DataException | ( | const DataException & | exc | ) |
Pothos::DataException::~DataException | ( | ) | ||
throw | ( | |||
) |
|
virtual |
Returns a static string describing the exception.
Reimplemented from Pothos::RuntimeException.
Reimplemented in Pothos::PathSyntaxException, Pothos::CircularReferenceException, Pothos::SyntaxException, and Pothos::DataFormatException.
|
virtual |
Returns a string consisting of the message name and the message text.
Reimplemented from Pothos::RuntimeException.
Reimplemented in Pothos::PathSyntaxException, Pothos::CircularReferenceException, Pothos::SyntaxException, and Pothos::DataFormatException.
|
virtual |
Assignment operator.
Reimplemented from Pothos::RuntimeException.
Reimplemented in Pothos::PathSyntaxException, Pothos::CircularReferenceException, Pothos::SyntaxException, and Pothos::DataFormatException.
DataException& Pothos::DataException::operator= | ( | const DataException & | exc | ) |
|
virtual |
Creates an exact copy of the exception.
The copy can later be thrown again by invoking rethrow() on it.
Reimplemented from Pothos::RuntimeException.
Reimplemented in Pothos::PathSyntaxException, Pothos::CircularReferenceException, Pothos::SyntaxException, and Pothos::DataFormatException.