Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
386 B

#ifndef FAILURE_H
#define FAILURE_H
#include "./global.h"
#include <exception>
#include <string>
namespace ApplicationUtilities {
class LIB_EXPORT Failure : public std::exception
{
public:
Failure();
Failure(const std::string &what);
~Failure() USE_NOTHROW;
virtual const char *what() const USE_NOTHROW;
private:
std::string m_what;
};
}
#endif // FAILURE_H