coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

ExceptionTranslator Class Reference

The class ExceptionTranslator allows the transfer of c++ exception across thread boundaries. More...

#include <ContextThread.h>

Inheritance diagram for ExceptionTranslator

Inheritance graph
[legend]
Collaboration diagram for ExceptionTranslator:

Collaboration graph
[legend]
List of all members.

Public Methods

 ExceptionTranslator ()
template<class T> void translateException (const T &e)
 This translate a Exception in a temporary state. More...

void throwException ()
void throwException ()const
 Extract the frozen Exception and throws it, if no exception was frozen the function simply returns and does nothing.


Detailed Description

The class ExceptionTranslator allows the transfer of c++ exception across thread boundaries.


Member Function Documentation

template<class T>
void ExceptionTranslator::translateException ( const T & e ) [inline]
 

This translate a Exception in a temporary state.

The exception is frozen and can be thrown at a later time (in the other thread).


The documentation for this class was generated from the following file:
  • ContextThread.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: