RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::core::Error Class Reference

A generic, unspecified Error. More...

#include <Exception.hpp>

Inheritance diagram for dds::core::Error:
dds::core::Exception

Public Member Functions

 Error ()
 Create an Error exception with no message.
 
 Error (const std::string &msg)
 Create an Error exception with a message.
 
virtual const char * what () const throw ()
 Access the message contained in this Error exception.
 

Detailed Description

A generic, unspecified Error.

Inherits also from std::exception

Constructor & Destructor Documentation

dds::core::Error::Error ( )

Create an Error exception with no message.

dds::core::Error::Error ( const std::string &  msg)
explicit

Create an Error exception with a message.

Parameters
msgThe message to create the Error with.

Member Function Documentation

virtual const char* dds::core::Error::what ( ) const throw ()
virtual

Access the message contained in this Error exception.

Returns
The message.

Implements dds::core::Exception.


RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc