blocxx
Classes | Namespaces | Typedefs | Functions

Exception.cpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Exception.hpp"
#include "blocxx/StackTrace.hpp"
#include "blocxx/Format.hpp"
#include <string.h>
#include <cstdlib>
#include <iostream>
#include <algorithm>

Go to the source code of this file.

Classes

struct  BLOCXX_NAMESPACE::ExceptionDetail::dummy
struct  BLOCXX_NAMESPACE::ExceptionDetail::FormatMsgImpl

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::ExceptionDetail

Typedefs

typedef int(* BLOCXX_NAMESPACE::ExceptionDetail::posix_fct )(int, char *,::std::size_t)
typedef char *(* BLOCXX_NAMESPACE::ExceptionDetail::gnu_fct )(int, char *,::std::size_t)
typedef int(* BLOCXX_NAMESPACE::ExceptionDetail::aix_fct )(int, char *, int)

Functions

usr src packages BUILD blocxx
src blocxx Exception static
cpp void 
BLOCXX_NAMESPACE::freeBuf (char **ptr)
std::ostream & BLOCXX_NAMESPACE::operator<< (std::ostream &os, const Exception &e)
 Writes the exception object to the stream in the form: <file>: <line> <type>: <message>
template<typename Dummy >
int BLOCXX_NAMESPACE::ExceptionDetail::strerror_r_wrap (posix_fct strerror_r, int errnum, char *buf, unsigned n, Dummy)
template<typename Dummy >
int BLOCXX_NAMESPACE::ExceptionDetail::strerror_r_wrap (gnu_fct strerror_r, int errnum, char *buf, unsigned n, Dummy)
void BLOCXX_NAMESPACE::ExceptionDetail::portable_strerror_r (int errnum, char *buf, unsigned n)