#ifndef EXCEPTIONS_H #define EXCEPTIONS_H namespace car { class MissingParameters: public std::exception { virtual const char* what() const throw() { return "Found to few paramters!"; } }; class FileNotFound: public std::exception { virtual const char* what() const throw() { return "Did not find file."; } }; } #endif