#include <RoadError.h>
Public Member Functions | |
Constructors | |
RoadError () | |
RoadError (const RoadError &other) | |
RoadError (int code, const std::string &message) | |
Called on throw, generates error_message. More... | |
RoadError (int code, const char *fmt) | |
RoadError (int code, const char *fmt, int d) | |
RoadError (int code, const char *fmt, int d, int d2) | |
RoadError (int code, const char *fmt, int d, int d2, float f) | |
RoadError (int code, const char *fmt, int d, int d2, float f, const char *s) | |
RoadError (int code, const char *fmt, int d, int d2, float f, const void *x) | |
RoadError (int code, const char *fmt, int d, int d2, float f, int i) | |
RoadError (int code, const char *fmt, int d, int d2, float f, long long i) | |
RoadError (int code, const char *fmt, int d, int d2, float f, double e) | |
RoadError & | operator= (const RoadError &other) |
~RoadError () throw () | |
Virtual | |
virtual const char * | what () const throw () |
GetSet | |
bool | isValid () const |
int | errorCode () const |
RoadLogEvent | roadLogEvent () const |
Update | |
void | logErrorLastResort () const |
Static Public Member Functions | |
Class methods | |
static void | clearGlobalLog () |
static bool | emptyGlobalLog () |
static const char * | stringGlobalLog () |
Private Attributes | |
Fields | |
int | error_code |
RoadLogEvent | log_event |
Non-zero code (not logged), maybe returned as program status. More... | |
std::string | error_message |
Format string w/ arguments. More... | |
Static Private Attributes | |
Class fields | |
Formated error message. Must be after log_event. | |
static const char * | ROADtag = "QH" |
static std::ostringstream | global_log |
Not reentrant – only used by RoadError::logErrorLastResort() More... | |
Definition at line 32 of file RoadError.h.
orgQhull::RoadError::RoadError | ( | ) |
Definition at line 40 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | const RoadError & | other | ) |
Definition at line 47 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const std::string & | message | ||
) |
Called on throw, generates error_message.
Definition at line 55 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt | ||
) |
Definition at line 64 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d | ||
) |
Definition at line 71 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2 | ||
) |
Definition at line 78 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f | ||
) |
Definition at line 85 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
const char * | s | ||
) |
Definition at line 92 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
const void * | x | ||
) |
Definition at line 99 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
int | i | ||
) |
Definition at line 106 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
long long | i | ||
) |
Definition at line 113 of file RoadError.cpp.
orgQhull::RoadError::RoadError | ( | int | code, |
const char * | fmt, | ||
int | d, | ||
int | d2, | ||
float | f, | ||
double | e | ||
) |
Definition at line 120 of file RoadError.cpp.
|
inline |
Definition at line 63 of file RoadError.h.
|
inlinestatic |
Definition at line 67 of file RoadError.h.
|
inlinestatic |
Definition at line 68 of file RoadError.h.
|
inline |
Definition at line 76 of file RoadError.h.
|
inline |
Definition at line 75 of file RoadError.h.
void orgQhull::RoadError::logErrorLastResort | ( | ) | const |
Log error instead of throwing it. Not reentrant, so avoid using it if possible
Definition at line 151 of file RoadError.cpp.
Definition at line 127 of file RoadError.cpp.
|
inline |
Definition at line 78 of file RoadError.h.
|
inlinestatic |
Definition at line 69 of file RoadError.h.
|
virtual |
Definition at line 137 of file RoadError.cpp.
|
private |
Definition at line 36 of file RoadError.h.
|
mutableprivate |
Format string w/ arguments.
Definition at line 38 of file RoadError.h.
|
staticprivate |
Not reentrant – only used by RoadError::logErrorLastResort()
May be replaced with any ostream object
Definition at line 42 of file RoadError.h.
|
private |
Non-zero code (not logged), maybe returned as program status.
Definition at line 37 of file RoadError.h.
|
staticprivate |
Identifies error messages from Qhull and Road for web searches. See QhullError.h::QHULLlastError and user.h::MSG_ERROR
Definition at line 41 of file RoadError.h.