#include <error.h>
Inheritance diagram for Xapian::AssertionError:
Public Member Functions | |
AssertionError (const std::string &msg_, const std::string &context_="", int errno_=0) | |
General purpose constructor which allows setting errno. | |
AssertionError (const std::string &msg_, int errno_) | |
Construct from message and errno value. | |
Private Member Functions | |
AssertionError (const std::string &msg_, const std::string &context_, const char *error_string_) | |
For internal use only. Private constructor for use by remote backend. | |
AssertionError (const std::string &msg_, const std::string &context_, const char *type_, const char *error_string_) | |
For internal use only. Constructor for use by constructors of derived classes. | |
AssertionError (const std::string &msg_, const std::string &context_, const char *type_, int errno_) | |
For internal use only. Constructor for use by constructors of derived classes. |
In a debug build of Xapian, a failed assertion in the core library code will cause AssertionError to be thrown.
This represents a bug in Xapian (either an invariant, precondition, etc has been violated, or the assertion is incorrect!)
Definition at line 192 of file error.h.
Xapian::AssertionError::AssertionError | ( | const std::string & | msg_, | |
const std::string & | context_, | |||
const char * | error_string_ | |||
) | [inline, private] |
Xapian::AssertionError::AssertionError | ( | const std::string & | msg_, | |
const std::string & | context_ = "" , |
|||
int | errno_ = 0 | |||
) | [inline, explicit] |
Xapian::AssertionError::AssertionError | ( | const std::string & | msg_, | |
int | errno_ | |||
) | [inline] |
Xapian::AssertionError::AssertionError | ( | const std::string & | msg_, | |
const std::string & | context_, | |||
const char * | type_, | |||
const char * | error_string_ | |||
) | [inline, private] |
Xapian::AssertionError::AssertionError | ( | const std::string & | msg_, | |
const std::string & | context_, | |||
const char * | type_, | |||
int | errno_ | |||
) | [inline, private] |