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

An exception indicating that the Kernel has shut down. More...

#include <Exceptions.h>

+ Inheritance diagram for CPN::ShutdownException:
+ Collaboration diagram for CPN::ShutdownException:

Public Member Functions

 ShutdownException () throw ()
 
 ~ShutdownException () throw ()
 
const char * what () const throw ()
 
std::string GetStackTrace () const
 

Protected Attributes

std::string stacktrace
 

Detailed Description

An exception indicating that the Kernel has shut down.

Definition at line 38 of file Exceptions.h.

Constructor & Destructor Documentation

CPN::ShutdownException::ShutdownException ( )
throw (
)
inline

Definition at line 40 of file Exceptions.h.

40 : Exception(3) {}
Exception(int ignore=2)
Definition: Exception.cc:27
CPN::ShutdownException::~ShutdownException ( )
throw (
)

Definition at line 31 of file Exceptions.cc.

31 {}

Member Function Documentation

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

Definition at line 40 of file Exception.h.

References Exception::stacktrace.

Referenced by ErrnoException::ErrnoException().

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

+ Here is the caller graph for this function:

const char* CPN::ShutdownException::what ( ) const
throw (
)
inline

Definition at line 42 of file Exceptions.h.

42 { return "The kernel has shutdown."; }

Member Data Documentation

std::string Exception::stacktrace
protectedinherited

Definition at line 42 of file Exception.h.

Referenced by Exception::GetStackTrace().


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