20 #ifndef NEO4CPP_UTILS_NEO4J_EXCEPTION_H_ 21 #define NEO4CPP_UTILS_NEO4J_EXCEPTION_H_ 35 const char * int_msg_cstr;
36 neo4j_result_stream_t *results = NULL;
40 int_msg =
"Error in Neo4j Request: " + msg;
41 int_msg_cstr = int_msg.c_str();
45 int_msg =
"Error in Neo4j Request: " + msg;
46 int_msg_cstr = int_msg.c_str();
51 ~
Neo4jException()
throw() {
if (results) {neo4j_close_results(results);}}
53 const char *
what()
const throw() {
60 #endif // NEO4CPP_UTILS_NEO4J_EXCEPTION_H_ Neo4j Exception.
Definition: neo4j_exception.h:32
const char * what() const
Show the error message in readable format.
Definition: neo4j_exception.h:53
Definition: neo4j_interface.h:28