Newer
Older
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
namespace car
{
class MissingParameters : public std::exception
{
virtual const char * what() const throw()
{
return "Found too few paramters!";
}
};
public:
explicit FileNotFound(const std::string & filename)
: runtime_error("File not found: " + filename)
{}