IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OC::OCException Class Reference

Inherits runtime_error.

Public Member Functions

 OCException (const std::string &msg, OCStackResult reason=OC_STACK_ERROR)
 
std::string reason () const
 
OCStackResult code () const
 

Static Public Member Functions

static std::string reason (const OCStackResult sr)
 

Constructor & Destructor Documentation

OC::OCException::OCException ( const std::string &  msg,
OCStackResult  reason = OC_STACK_ERROR 
)
inline

Member Function Documentation

OCStackResult OC::OCException::code ( ) const
inline
static std::string OC::OCException::reason ( const OCStackResult  sr)
static
std::string OC::OCException::reason ( ) const
inline

The documentation for this class was generated from the following file: