mozaSdk
src
sdk_api
effects
DevicesManagerException.h
1
2
#pragma once
3
4
#include <exception>
5
#include <string>
6
namespace
RS21::direct_input
{
7
8
9
10
class
DevicesManagerException
:
public
std::exception
11
{
12
public
:
13
DevicesManagerException
(
const
std::string& errorMessage);
14
DevicesManagerException
(
const
char
* errorMessage);
15
virtual
const
char
*
what
()
const
throw()
override
16
{
17
return
m_errorString.c_str();
18
}
19
private
:
20
std::string m_errorString;
21
};
22
23
}
//namespace
24
RS21::direct_input::DevicesManagerException
Definition:
DevicesManagerException.h:10
RS21::direct_input::DevicesManagerException::DevicesManagerException
DevicesManagerException(const std::string &errorMessage)
RS21::direct_input::DevicesManagerException::what
virtual const char * what() const override
Definition:
DevicesManagerException.h:15
RS21::direct_input
Definition:
DeviceException.h:7
制作者
1.8.15