C++ Utilities
4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The Failure class is thrown by an ArgumentParser when a parsing error occurs. More...
#include <failure.h>
Public Member Functions | |
Failure () | |
Constructs a new Failure. More... | |
Failure (const std::string &what) | |
Constructs a new Failure. More... | |
~Failure () USE_NOTHROW | |
Destroys the Failure. More... | |
virtual const char * | what () const USE_NOTHROW |
Returns a C-style character string describing the cause of the Failure. More... | |
The Failure class is thrown by an ArgumentParser when a parsing error occurs.
ApplicationUtilities::Failure::Failure | ( | ) |
Constructs a new Failure.
Definition at line 19 of file failure.cpp.
ApplicationUtilities::Failure::Failure | ( | const std::string & | what | ) |
Constructs a new Failure.
what is a std::string describing the cause of the Failure.
Definition at line 28 of file failure.cpp.
ApplicationUtilities::Failure::~Failure | ( | ) |
Destroys the Failure.
Definition at line 36 of file failure.cpp.
|
virtual |
Returns a C-style character string describing the cause of the Failure.
Definition at line 44 of file failure.cpp.