7#ifndef _AUROSTD_XERROR_H_
8#define _AUROSTD_XERROR_H_
15#define _GENERIC_ERROR_ 1
16#define _ILLEGAL_CODE_ 2
17#define _INPUT_ERROR_ 10
18#define _INPUT_UNKNOWN_ 11
19#define _INPUT_MISSING_ 12
20#define _INPUT_AMBIGUOUS_ 13
21#define _INPUT_ILLEGAL_ 14
22#define _INPUT_NUMBER_ 15
23#define _FILE_ERROR_ 20
24#define _FILE_NOT_FOUND_ 21
25#define _FILE_WRONG_FORMAT_ 22
26#define _FILE_CORRUPT_ 23
27#define _VALUE_ERROR_ 30
28#define _VALUE_ILLEGAL_ 31
29#define _VALUE_RANGE_ 32
30#define _INDEX_ERROR_ 40
31#define _INDEX_ILLEGAL_ 41
32#define _INDEX_BOUNDS_ 42
33#define _INDEX_MISMATCH_ 43
34#define _RUNTIME_ERROR_ 50
35#define _RUNTIME_INIT_ 51
36#define _RUNTIME_SQL_ 52
37#define _RUNTIME_BUSY_ 53
38#define _RUNTIME_EXTERNAL_MISS_ 54
39#define _RUNTIME_EXTERNAL_FAIL_ 55
40#define _RUNTIME_HTTP_ 56
41#define _ALLOC_ERROR_ 60
42#define _ALLOC_ALLOCATE_ 61
43#define _ALLOC_INSUFFICIENT_ 62
52 xerror(
const std::string&,
const std::string&,
const std::string&,
int = 1);
53 xerror(
const std::string&,
const std::string&,
const std::stringstream&,
int = 1);
54 xerror(
const std::string&,
const std::stringstream&,
const std::stringstream&,
int = 1);
55 xerror(
const std::string&,
const std::stringstream&,
const std::string&,
int = 1);
71 void buildException(
const std::string&,
const std::string&,
const std::string&,
const int&);
std::string error_string() const
std::string buildMessageString()
std::string function_name
std::string whereFileName()
void buildException(const std::string &, const std::string &, const std::string &, const int &)
std::string whereFunction()
xerror(const std::string &, const std::string &, const std::string &, int=1)
std::string error_message