33 #ifndef HURRICANE_ERROR_H
34 #define HURRICANE_ERROR_H
36 #include "hurricane/Exception.h"
37 #include "hurricane/Backtrace.h"
46 Error (
const char* format, ... );
47 Error (
int code,
const string& reason );
48 Error (
int code,
const char* format, ... );
52 inline string where ()
const;
55 virtual string _getTypeName ()
const;
56 virtual string _getString ()
const;
67 inline string Error::where ()
const {
return _backtrace.where(); }
Error description (API)
Definition: Error.h:43
string getReason() const
Definition: Error.h:65
int getCode() const
Definition: Error.h:66
Error(int code, const char *format,...)
Error(int code, const string &reason)
Error(const Error &error)
Error(const char *format,...)
string textWhere() const
Definition: Error.h:68
Error(const string &reason)
string htmlWhere() const
Definition: Error.h:69
Exception description (API)
Definition: Exception.h:34
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5