This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
The-Powder-Toy/src/localbrowser/LocalBrowserModelException.h

24 lines
490 B
C++

/*
* StampsModelException.h
*
* Created on: Mar 29, 2012
* Author: Simon
*/
#ifndef STAMPSMODELEXCEPTION_H_
#define STAMPSMODELEXCEPTION_H_
#include <string>
#include <exception>
using namespace std;
class LocalBrowserModelException {
string message;
public:
LocalBrowserModelException(string message_): message(message_) {};
const char * what() const throw() { return message.c_str(); };
~LocalBrowserModelException() throw() {};
};
#endif /* STAMPSMODELEXCEPTION_H_ */