Alexandria
2.27.0
SDC-CH common library for the Euclid project
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Pyston
Pyston
Exceptions.h
Go to the documentation of this file.
1
19
#ifndef PYSTON_EXCEPTIONS_H
20
#define PYSTON_EXCEPTIONS_H
21
22
#include <
ElementsKernel/Exception.h
>
23
#include <
ElementsKernel/Logging.h
>
24
25
namespace
Pyston {
26
32
class
Exception
:
public
Elements::Exception
{
33
public
:
35
struct
Location
{
36
std::string
filename
,
funcname
;
37
long
lineno
;
38
};
39
50
Exception
();
51
53
const
std::list<Location>
&
getTraceback
()
const
;
54
56
const
Exception
&
log
(
log4cpp::Priority::Value
level,
Elements::Logging
&
logger
)
const
;
57
58
private
:
59
std::list<Location>
m_traceback
;
60
};
61
62
}
// end of namespace Pyston
63
64
#endif // PYSTON_EXCEPTIONS_H
Pyston::Exception::Exception
Exception()
Definition:
Exceptions.cpp:30
Pyston::Exception::getTraceback
const std::list< Location > & getTraceback() const
Definition:
Exceptions.cpp:70
Pyston::Exception
Definition:
Exceptions.h:32
Logging.h
Pyston::Exception::log
const Exception & log(log4cpp::Priority::Value level, Elements::Logging &logger) const
Log error message and traceback.
Definition:
Exceptions.cpp:74
Pyston::Exception::m_traceback
std::list< Location > m_traceback
Definition:
Exceptions.h:59
Pyston::Exception::Location::filename
std::string filename
Definition:
Exceptions.h:36
std::string
STL class.
Pyston::Exception::Location::lineno
long lineno
Definition:
Exceptions.h:37
logger
static Elements::Logging logger
Logger.
Definition:
Example.cpp:55
Elements::Logging
Pyston::Exception::Location
Traceback location.
Definition:
Exceptions.h:35
std::list
STL class.
Pyston::Value
boost::variant< bool, int64_t, double, AttributeSet > Value
Definition:
Node.h:88
Elements::Exception
Exception.h
Pyston::Exception::Location::funcname
std::string funcname
Definition:
Exceptions.h:36
Generated by
1.8.5