Class NullReferenceError
Defined in File Exception.hpp
Inheritance Relationships
Base Types
public dds::core::Exception
(Class Exception)public std::runtime_error
Class Documentation
-
class NullReferenceError : public dds::core::Exception, public std::runtime_error
Exception: Application used a null reference.
Very likely, the used DDS object is a dds::core::null object.
dds::domain::DomainParticipant participant = dds::core::null; try { participant.domain_id(); } catch (const dds::core::NullReferenceError& e) { std::cout << e.what() << std::endl; }