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

A PreconditionNotMetError is thrown when a pre-condition for the operation was not met. More...

#include <Exception.hpp>

Inheritance diagram for dds::core::PreconditionNotMetError:
dds::core::Exception

Public Member Functions

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

Detailed Description

A PreconditionNotMetError is thrown when a pre-condition for the operation was not met.

Inherits also from std::logic_error

The system is not in the expected state when the function is called, or the parameter itself is not in the expected state when the function is called.

Member Function Documentation

◆ what()

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

Access the message contained in this PreconditionNotMetError exception.

Returns
The message.

Implements dds::core::Exception.