#include 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); }; }