|
Sierra Toolkit
Version of the Day
|
Template ExTemp takes a zero argument exception and makes it into a parallel throwable and put-to-able (<<) exception. This exception may be caught with either the base class T type or the template ExTemp<T> type. More...
#include <Exception.hpp>


Public Types | |
| typedef ExTemp< T > | ParallelExceptionType |
| Parallel exception type. | |
| typedef T | BaseExceptionType |
| Base exception type. | |
Public Member Functions | |
| ExTemp () | |
| ExTemp (const std::string &message) | |
| ExTemp (const ExTemp &x) | |
| virtual | ~ExTemp () throw () |
| virtual const char * | what () const throw () |
| Member function what returns the exception's description. | |
| ExTemp & | operator<< (std::ostream &(*f)(std::ostream &)) |
| Member function operator<< passes the std manipilator functions to the ExTemp object. This allows the manipulators to modify the description. (Currently in a limited fashion). | |
| template<class U > | |
| ExTemp & | operator<< (const U &t) |
| virtual void | throw_copy () const |
| Member function copy throws a copy of the original exception. It copies the original message, sets the parallel thrown flag and throws the new exception. | |
Static Public Member Functions | |
| static void | registerException () |
| Member function registerException registers the exception with the parallel exception registry. | |
Template ExTemp takes a zero argument exception and makes it into a parallel throwable and put-to-able (<<) exception. This exception may be caught with either the base class T type or the template ExTemp<T> type.
Definition at line 536 of file Exception.hpp.
| sierra::ExTemp< T >::ExTemp | ( | ) | [inline] |
Creates a new ExTemp instance.
Definition at line 546 of file Exception.hpp.
| sierra::ExTemp< T >::ExTemp | ( | const std::string & | message | ) | [inline, explicit] |
Creates a new ExTemp instance with an initial description.
| message | a std::string const reference to the initial exception description. |
Definition at line 557 of file Exception.hpp.
| sierra::ExTemp< T >::ExTemp | ( | const ExTemp< T > & | x | ) | [inline] |
Creates a new ExTemp copy.
| x | an ExTemp variable ... |
Definition at line 567 of file Exception.hpp.
| virtual sierra::ExTemp< T >::~ExTemp | ( | ) | throw () [inline, virtual] |
Destroys a ExTemp instance.
Definition at line 576 of file Exception.hpp.
| virtual const char* sierra::ExTemp< T >::what | ( | ) | const throw () [inline, virtual] |
Member function what returns the exception's description.
Reimplemented from sierra::ExParallel.
Definition at line 585 of file Exception.hpp.
| ExTemp& sierra::ExTemp< T >::operator<< | ( | std::ostream &(*)(std::ostream &) | f | ) | [inline] |
Member function operator<< passes the std manipilator functions to the ExTemp object. This allows the manipulators to modify the description. (Currently in a limited fashion).
Reimplemented from sierra::ExParallel.
Definition at line 597 of file Exception.hpp.
| ExTemp& sierra::ExTemp< T >::operator<< | ( | const U & | t | ) | [inline] |
Member function operator<< passes any data type to the exception string class for conversion to a string.
| t | a T const reference that is to be converted to a string. |
Reimplemented from sierra::ExParallel.
Definition at line 612 of file Exception.hpp.
| static void sierra::ExTemp< T >::registerException | ( | ) | [inline, static] |
Member function registerException registers the exception with the parallel exception registry.
Definition at line 638 of file Exception.hpp.