2 * psychlops_code_exception.h
\r
3 * Psychlops Standard Library (Universal)
\r
5 * Last Modified 2005/12/17 by Kenchi HOSOKAWA
\r
6 * (C) 2005 Kenchi HOSOKAWA, Kazushi MARUYA, Takao SATO
\r
9 #ifndef HEADER_PSYCHLOPS_CODINGSUPPORT_EXCEPTION
\r
10 #define HEADER_PSYCHLOPS_CODINGSUPPORT_EXCEPTION
\r
18 namespace Psychlops {
\r
23 const std::type_info &ti_;
\r
24 std::string category_;
\r
26 std::string backtrace_;
\r
27 static Exception dummy_;
\r
31 Exception(const std::type_info &ti);
\r
32 Exception(std::string str);
\r
33 Exception(const char *str);
\r
34 Exception(const std::type_info &ti, std::string category);
\r
35 Exception(const std::type_info &ti, const char *category);
\r
36 Exception(const std::type_info &ti, std::string category, std::string str);
\r
37 Exception(const std::type_info &ti, const char *category, const char *str);
\r
39 std::string toString();
\r
40 std::string getErrorString();
\r
45 extern double debug_double[8];
49 } /* <- namespace Psychlops */
\r