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/gui/localbrowser/LocalBrowserModelException.h
Tamás Bálint Misius 0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00

17 lines
420 B
C++

#ifndef STAMPSMODELEXCEPTION_H_
#define STAMPSMODELEXCEPTION_H_
#include "common/String.h"
#include <exception>
class LocalBrowserModelException : std::exception
{
ByteString message;
public:
LocalBrowserModelException(String message_): message(message_.ToUtf8()) {};
const char * what() const throw() { return message.c_str(); };
~LocalBrowserModelException() throw() {};
};
#endif /* STAMPSMODELEXCEPTION_H_ */