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