RTI Connext Modern C++ API Version 7.2.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...
 
virtual const char * what () const =0 throw ()
 Get a description of the error. 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.