CPN
Computational Process Networks
Public Member Functions | Protected Attributes | List of all members
Exception Class Reference

#include <Exception.h>

+ Inheritance diagram for Exception:
+ Collaboration diagram for Exception:

Public Member Functions

 Exception (int ignore=2) throw ()
 
virtual ~Exception () throw ()
 
std::string GetStackTrace () const
 

Protected Attributes

std::string stacktrace
 

Detailed Description

A base exception that provides stack trace functionality.

Definition at line 33 of file Exception.h.

Constructor & Destructor Documentation

Exception::Exception ( int  ignore = 2)
throw (
)

Definition at line 27 of file Exception.cc.

28  : stacktrace(GetStack(ignore))
29 {
30 }
std::string stacktrace
Definition: Exception.h:42
std::string GetStack(unsigned ignore=0)
Definition: StackTrace.cc:39
Exception::~Exception ( )
throw (
)
virtual

Definition at line 32 of file Exception.cc.

32 {}

Member Function Documentation

std::string Exception::GetStackTrace ( ) const
inline
Returns
the stack trace.

Definition at line 40 of file Exception.h.

References stacktrace.

Referenced by ErrnoException::ErrnoException().

40 { return stacktrace; }
std::string stacktrace
Definition: Exception.h:42

+ Here is the caller graph for this function:

Member Data Documentation

std::string Exception::stacktrace
protected

Definition at line 42 of file Exception.h.

Referenced by GetStackTrace().


The documentation for this class was generated from the following files: