summaryrefslogtreecommitdiff
path: root/src/gui/localbrowser/LocalBrowserModelException.h
blob: 5146c533db0929b7ff4fc1e0a405ad3e06656198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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_ */