ExceptionCallback< T > Class Template Reference

This Callback just throws an exception when invoked. More...

#include <callback_decls.h>

Inheritance diagram for ExceptionCallback< T >:

Callback List of all members.

Public Member Functions

 ExceptionCallback (T ex)
 Constructs an ExceptionCallback that throws ex when invoked.
void run ()
 This method takes action when the Callback is to be run.

Detailed Description

template<class T>
class ExceptionCallback< T >

This Callback just throws an exception when invoked.


Constructor & Destructor Documentation

template<class T>
ExceptionCallback< T >::ExceptionCallback ( ex  )  [inline]

Constructs an ExceptionCallback that throws ex when invoked.

Parameters:
ex is the exception to throw


Member Function Documentation

template<class T>
void ExceptionCallback< T >::run (  )  [inline, virtual]

This method takes action when the Callback is to be run.

Derived classes must override this method.

Implements Callback.


The documentation for this class was generated from the following files:
Generated on Sat Feb 7 01:26:51 2009 by  doxygen 1.5.1