1 //! \file WalkerException.h
3 #ifndef _WALKEREXCEPTION_H
4 #define _WALKEREXCEPTION_H
8 //! (base) class for exceptions in uvok/WikiWalker
9 class WalkerException
: public std::exception
12 /*! Create a Walker exception with a message.
14 * Message might be shown on exception occurring, depending on
17 * \param exmessage The exception message.
19 WalkerException(std::string exmessage
)
20 : message(exmessage
) {}
22 virtual ~WalkerException() throw() {}
24 //! get exception message
25 const char* what() const noexcept
27 return message
.c_str();
34 #endif // _WALKEREXCEPTION_H