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

The base exception class for resource encapsulation. More...

Inherits exception.

Inherited by OIC::Service::ESBadGetException, OIC::Service::ESBadRequestException, OIC::Service::ESInvalidKeyException, OIC::Service::ESInvalidParameterException, and OIC::Service::ESPlatformException.

Public Member Functions

 ESException ()
 Constructs an exception with an empty description. More...
 
 ESException (const std::string &what)
 Constructs an exception with a description. More...
 
 ESException (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 ~ESException () noexcept
 
virtual const char * what () const noexcept
 Returns the exception description. More...
 

Detailed Description

The base exception class for resource encapsulation.

Constructor & Destructor Documentation

OIC::Service::ESException::ESException ( )

Constructs an exception with an empty description.

OIC::Service::ESException::ESException ( const std::string &  what)
explicit

Constructs an exception with a description.

Parameters
whatThe description for the error.
OIC::Service::ESException::ESException ( std::string &&  what)
explicit

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

virtual OIC::Service::ESException::~ESException ( )
virtualnoexcept

Member Function Documentation

virtual const char* OIC::Service::ESException::what ( ) const
virtualnoexcept

Returns the exception description.


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