RTI Connext Modern C++ API Version 7.2.0
dds::core::IllegalOperationError Class Reference

Indicates that an operation was called under improper circumstances. More...

#include <Exception.hpp>

Inheritance diagram for dds::core::IllegalOperationError:
dds::core::Exception

Public Member Functions

virtual const char * what () const throw ()
 Access the message contained in this IllegalOperationError exception. More...
 
virtual const char * what () const =0 throw ()
 Get a description of the error. More...
 

Detailed Description

Indicates that an operation was called under improper circumstances.

Inherits also from std::logic_error

An operation was invoked on an inappropriate object or at an inappropriate time. This return code is similar to dds::core::PreconditionNotMetError, except that there is no precondition that could be changed to make the operation succeed.

Member Function Documentation

◆ what()

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

Access the message contained in this IllegalOperationError exception.

Returns
The message.

Implements dds::core::Exception.