sg_fatal_error Class Reference

SG class for the fatal error descriptors. Used in exceptions. More...

#include <sgfatal.hpp>

Inheritance diagram for sg_fatal_error:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void process ()
 Processes the error.
 sg_fatal_error (char *m)
 Constructor.

Public Attributes

char * message

Detailed Description

SG class for the fatal error descriptors. Used in exceptions.


Constructor & Destructor Documentation

sg_fatal_error::sg_fatal_error ( char *  m  )  [inline]

Constructor.

Parameters:
[in] m Text of the message.
[in] file Thrown in which file.
[in] line Thrown in which line.


Member Function Documentation

void sg_fatal_error::process (  ) 

Processes the error.

This method should be called once and typically halts the program. Besides, this function should warn the user with the 'message'. It can perform further operations like stopping parallel computations, ...


Member Data Documentation

char* sg_fatal_error::message


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 12:34:28 2007 for SG2 by  doxygen 1.5.2