Began refactoring the source properly this time 'round.
[aesalon.git] / include / Exception.h
blobc508a0bcadbd67a792a6f19c7499e9ef40af1909
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/Exception.h
8 */
10 #ifndef AesalonException_H
11 #define AesalonException_H
13 #include <string>
15 class Exception {
16 private:
17 std::string m_message;
18 public:
19 Exception(std::string message) : m_message(message) {}
20 virtual ~Exception() {}
22 const std::string &message() const { return m_message; }
26 #endif