Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

FatalException.h File Reference

#include <iostream>
#include <exception>

Go to the source code of this file.

Namespaces

namespace  base

Defines

#define FATAL(MSG)
 Macros for convenience: print & throw fatal exception.

Functions

static std::ostream & operator<< (std::ostream &os, const FatalException &x)
 Overload operator <<.


Define Documentation

#define FATAL MSG   ) 
 

Value:

do {            \
  std::cerr << "Fatal exception: " \
            << MSG << std::endl;   \
  throw base::FatalException(MSG); \
} while(0)
Macros for convenience: print & throw fatal exception.


Function Documentation

static std::ostream& base::operator<< std::ostream &  os,
const FatalException &  x
[inline, static]
 

Overload operator <<.


Generated on Fri Jun 30 00:02:30 2006 for Module base by  doxygen 1.4.2