mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-07 01:23:57 -05:00
25 lines
411 B
C++
25 lines
411 B
C++
//ProjectEuler/ProjectEulerCPP/headers/Unsolved.hpp
|
|
//Matthew Ellison
|
|
// Created: 08-28-20
|
|
//Modified: 08-28-20
|
|
//An exception class thrown if you try to access something before it has been solved
|
|
|
|
|
|
#ifndef UNSOLVED_HPP
|
|
#define UNSOLVED_HPP
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
class Unsolved{
|
|
private:
|
|
std::string message;
|
|
public:
|
|
Unsolved(){}
|
|
Unsolved(std::string message) : message(message){}
|
|
};
|
|
|
|
|
|
#endif //UNSOLVED_HPP
|