};
+
+class creaBruker_EXPORT BrukerInitException: public std::exception
+{
+public:
+ BrukerInitException( const std::string& message
+ )
+ : m_message(message)
+ {}
+
+ ~BrukerInitException() throw() {}
+
+ virtual const char* what() const throw() {
+ return m_message.c_str();
+ }
+
+
+private:
+ std::string m_message;
+
+};
+
+class creaBruker_EXPORT BrukerHopelessException: public std::exception
+{
+public:
+ BrukerHopelessException( const std::string& message
+ )
+ : m_message(message)
+ {}
+
+ ~BrukerHopelessException() throw() {}
+
+ virtual const char* what() const throw() {
+ return m_message.c_str();
+ }
+
+
+private:
+ std::string m_message;
+
+};
+
#endif