error.cc File Reference

#include "config.h"
#include <cerrno>
#include <cstring>
#include <cstdio>
#include "asserts.h"
#include "types.h"
#include "error.h"

Include dependency graph for error.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define internal_TRY_nomem(code)

Functions

std::ostream & operator<< (std::ostream &a_out, const error &a_e)
const char * get_error_str (const int a_err)


Define Documentation

#define internal_TRY_nomem code   ) 
 

Value:

try { \
                code; \
        } \
        catch(...) { \
                if (errno == 12) \
                        std::cerr << err_nomem; \
                else \
                        std::cerr << err_unknown; \
        }

Definition at line 16 of file error.cc.

Referenced by error_instance::clear(), error::push_back(), and error_instance::set().


Function Documentation

const char* get_error_str const int  a_err  ) 
 

Definition at line 380 of file error.cc.

Referenced by error::push_back().

std::ostream& operator<< std::ostream &  a_out,
const error a_e
 

Definition at line 375 of file error.cc.


Generated on Mon Jul 12 12:03:36 2004 for rvm by doxygen 1.3.6