summaryrefslogtreecommitdiff
path: root/src/Exception.h
blob: 821f569f3bef18331584d55e7e6a2a4ba8be0b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <string>

namespace PluggIt {

class Exception
{
public:
     Exception( std::string message );

     Exception( const char *format, ... ) D_FORMAT_PRINTF(2);

     std::string getMessage();

     friend std::ostream &operator << (std::ostream &stream, Exception *ex);
};

}