|
| hazelcast_sql_exception (std::string source, boost::uuids::uuid originating_member_id, int32_t code, boost::optional< std::string > message, boost::optional< std::string > suggestion, std::exception_ptr cause=nullptr) |
const boost::uuids::uuid & | originating_member_id () const |
| Gets ID of the member that caused or initiated an error condition.
|
int32_t | code () const |
| Gets the internal error code associated with the exception.
|
const boost::optional< std::string > & | suggestion () const |
| Gets the suggested SQL statement to remediate experienced error.
|
Definition at line 28 of file hazelcast_sql_exception.h.
◆ hazelcast_sql_exception()
hazelcast::client::sql::hazelcast_sql_exception::hazelcast_sql_exception |
( |
std::string | source, |
|
|
boost::uuids::uuid | originating_member_id, |
|
|
int32_t | code, |
|
|
boost::optional< std::string > | message, |
|
|
boost::optional< std::string > | suggestion, |
|
|
std::exception_ptr | cause = nullptr ) |
Definition at line 594 of file sql.cpp.
601 : hazelcast_(std::move(source),
602 message ? std::move(message).value() : "",
603 "",
604 std::move(cause))
608{
609}
int32_t code() const
Gets the internal error code associated with the exception.
const boost::uuids::uuid & originating_member_id() const
Gets ID of the member that caused or initiated an error condition.
const boost::optional< std::string > & suggestion() const
Gets the suggested SQL statement to remediate experienced error.
◆ code()
int32_t hazelcast::client::sql::hazelcast_sql_exception::code |
( |
| ) |
const |
Gets the internal error code associated with the exception.
Definition at line 618 of file sql.cpp.
619{
620 return code_;
621}
◆ originating_member_id()
const boost::uuids::uuid & hazelcast::client::sql::hazelcast_sql_exception::originating_member_id |
( |
| ) |
const |
Gets ID of the member that caused or initiated an error condition.
Definition at line 612 of file sql.cpp.
613{
614 return originating_member_id_;
615}
◆ suggestion()
const boost::optional< std::string > & hazelcast::client::sql::hazelcast_sql_exception::suggestion |
( |
| ) |
const |
Gets the suggested SQL statement to remediate experienced error.
Definition at line 624 of file sql.cpp.
625{
626 return suggestion_;
627}
The documentation for this class was generated from the following files: