IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OIC::Service::RCSPlatformException Class Reference

Thrown when OC layer returns an error. More...

Inherits OIC::Service::RCSException.

Public Member Functions

 RCSPlatformException (OCStackResult reason)
OCStackResult getReasonCode () const
 Returns the reason. More...
std::string getReason () const
 Returns the reason description. More...
- Public Member Functions inherited from OIC::Service::RCSException
 RCSException ()
 Constructs an exception with an empty description. More...
 RCSException (const std::string &what)
 Constructs an exception with a description. More...
 RCSException (std::string &&what)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
virtual ~RCSException () BOOST_NOEXCEPT
virtual const char * what () const BOOST_NOEXCEPT
 Returns the exception description. More...

Detailed Description

Thrown when OC layer returns an error.

Constructor & Destructor Documentation

OIC::Service::RCSPlatformException::RCSPlatformException ( OCStackResult  reason)

Member Function Documentation

std::string OIC::Service::RCSPlatformException::getReason ( ) const

Returns the reason description.

OCStackResult OIC::Service::RCSPlatformException::getReasonCode ( ) const

Returns the reason.

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