Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
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 "config.h"
#include <string>
#include <cstring>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <sstream>
#include <errno.h>
#include <signal.h>

Go to the source code of this file.

Classes

class  ErrorLocation
 Error location class. More...
class  ExceptionTracer
 Exception backtrace. More...
class  Error
 Basic error class. More...
class  ErrorNoMem
 Error class for memory allocation errors. More...
class  ErrorErrno
 Error class for C-style errno errors. More...
class  ErrorUnimplemented
 Error class to use if requested feature is unimplemented. More...
class  ErrorDim
 Error class for dimension mismatch errors. More...
class  ErrorRange
 Error class for index range checking errors. More...
class  SignalHandler
 Signal handler. 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)
 Function for converting a type to string.

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]

Function for converting a type to string.


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:49.