RTI Connext Modern C++ API  Version 6.1.0
dds::core::InvalidDowncastError Class Reference

Indicates that a downcast was incorrect. More...

#include <Exception.hpp>

Inheritance diagram for dds::core::InvalidDowncastError:
dds::core::Exception

Public Member Functions

virtual const char * what () const throw ()
 Access the message contained in this InvalidDowncastError exception. More...
 

Detailed Description

Indicates that a downcast was incorrect.

Inherits also from std::runtime_error

See also
dds::core::polymorphic_cast
dds::pub::AnyDataWriter::get()

Member Function Documentation

◆ what()

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

Access the message contained in this InvalidDowncastError exception.

Returns
The message.

Implements dds::core::Exception.