Alexandria
2.27.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
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
logger
static Elements::Logging logger
Logger.
Definition:
Example.cpp:55
Exception.h
Logging.h
std::string
Elements::Exception
Elements::Logging
Pyston::Exception
Definition:
Exceptions.h:32
Pyston::Exception::Exception
Exception()
Definition:
Exceptions.cpp:30
Pyston::Exception::m_traceback
std::list< Location > m_traceback
Definition:
Exceptions.h:59
Pyston::Exception::getTraceback
const std::list< Location > & getTraceback() const
Definition:
Exceptions.cpp:70
Pyston::Exception::log
const Exception & log(log4cpp::Priority::Value level, Elements::Logging &logger) const
Log error message and traceback.
Definition:
Exceptions.cpp:74
std::list
Pyston
Definition:
ExceptionRaiser.h:28
Pyston::Exception::Location
Traceback location.
Definition:
Exceptions.h:35
Pyston::Exception::Location::filename
std::string filename
Definition:
Exceptions.h:36
Pyston::Exception::Location::funcname
std::string funcname
Definition:
Exceptions.h:36
Pyston::Exception::Location::lineno
long lineno
Definition:
Exceptions.h:37
Generated by
1.9.6