Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::exception::query Class Reference
Inheritance diagram for hazelcast::client::exception::query:

Public Member Functions

 query (std::string source="", std::string message="", std::string details="", std::exception_ptr cause=nullptr)
 query (int32_t code, std::string message, std::exception_ptr cause=nullptr, boost::uuids::uuid originating_member_id=boost::uuids::nil_uuid(), std::string suggestion="")
int32_t code () const
const std::string & suggestion () const
const boost::uuids::uuid & originating_member_uuid () const

Detailed Description

Definition at line 333 of file protocol_exceptions.h.

Constructor & Destructor Documentation

◆ query() [1/2]

hazelcast::client::exception::query::query ( std::string source = "",
std::string message = "",
std::string details = "",
std::exception_ptr cause = nullptr )
explicit

Definition at line 1341 of file client_impl.cpp.

1345 : hazelcast_(std::move(source),
1346 std::move(message),
1347 std::move(details),
1348 std::move(cause),
1349 false)
1350{
1351}

◆ query() [2/2]

hazelcast::client::exception::query::query ( int32_t code,
std::string message,
std::exception_ptr cause = nullptr,
boost::uuids::uuid originating_member_id = boost::uuids::nil_uuid(),
std::string suggestion = "" )

Definition at line 1353 of file client_impl.cpp.

1358 : hazelcast_("", std::move(message), "", std::move(cause))
1359 , code_(code)
1360 , suggestion_(std::move(suggestion))
1361 , originating_member_uuid_(originating_member_id)
1362{
1363}

Member Function Documentation

◆ code()

int32_t hazelcast::client::exception::query::code ( ) const

Definition at line 1366 of file client_impl.cpp.

1367{
1368 return code_;
1369}

◆ originating_member_uuid()

const boost::uuids::uuid & hazelcast::client::exception::query::originating_member_uuid ( ) const

Definition at line 1378 of file client_impl.cpp.

1379{
1380 return originating_member_uuid_;
1381}

◆ suggestion()

const std::string & hazelcast::client::exception::query::suggestion ( ) const

Definition at line 1372 of file client_impl.cpp.

1373{
1374 return suggestion_;
1375}

The documentation for this class was generated from the following files: