Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
      Class Index
      File List
   Version 1.0.4dev
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

error.hpp File Reference

Error classes and handling. More...

#include <string>
#include <cstring>
#include <stdint.h>
#include <sstream>
#include <errno.h>

Go to the source code of this file.

Classes

struct  ErrorLocation
 Error location class. More...
struct  Error
 Base error class. More...
struct  ErrorNoMem
 Error class for memory allocation errors. More...
struct  ErrorErrno
 Error class for C-style errno errors. More...
struct  ErrorUnimplemented
 Error class to use if requested feature is unimplemented. More...
struct  ErrorDim
 Error class for dimension mismatch errors. More...
struct  ErrorRange
 Error class for index range checking errors. More...

Defines

#define ERROR_LOCATION   ErrorLocation( __FILE__, __LINE__, __func__ )
 Macro for setting error location when throwing errors.

Functions

template<class T >
std::string to_string (const T &t)

Detailed Description

Error classes and handling.


Define Documentation

#define ERROR_LOCATION   ErrorLocation( __FILE__, __LINE__, __func__ )

Macro for setting error location when throwing errors.


Function Documentation

template<class T >
std::string to_string ( const T &  t  )  [inline]


Reference manual for Ion Beam Simulator 1.0.4
Generated by Doxygen 1.7.1 on Wed Apr 13 2011 23:25:33.