summaryrefslogtreecommitdiff
path: root/src/localbrowser/LocalBrowserModelException.h
blob: 087f7df7828fa396b0c3aa8e2eaa89c2eafce58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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_ */