File size: 615 Bytes
053b80b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
#ifndef KINOVAEXCEPTION_H
#define KINOVAEXCEPTION_H
#include <string>
#include <sstream>
#include <exception>
namespace Kinova
{
namespace Api
{
class KBasicException : public std::runtime_error
{
public:
KBasicException(const std::string& msgStr);
KBasicException(const KBasicException &other);
virtual const char* what() const throw() override;
virtual std::string toString();
};
// todogr add a new kinova exception: KProgException
typedef KBasicException KProgException;
} // namespace Api
} // namespace Kinova
#endif
|