Rcpp Version 0.9.10
exceptions.cpp File Reference
#include <Rcpp.h>
Include dependency graph for exceptions.cpp:

Go to the source code of this file.

Namespaces

namespace  Rcpp
 

Rcpp API.


Defines

#define RCPP_EXCEPTION_WHAT(__CLASS__)   const char* __CLASS__::what() const throw(){ return message.c_str(); }
#define RCPP_SIMPLE_EXCEPTION_WHAT(__CLASS__, __MESSAGE__)   const char* __CLASS__::what() const throw(){ return __MESSAGE__ ; }

Functions

void forward_uncaught_exceptions_to_r ()
void forward_exception_to_r (const std::exception &ex)
std::string demangle (const std::string &name)
SEXP initUncaughtExceptionHandler ()

Define Documentation

#define RCPP_EXCEPTION_WHAT (   __CLASS__)    const char* __CLASS__::what() const throw(){ return message.c_str(); }

Definition at line 30 of file exceptions.cpp.

#define RCPP_SIMPLE_EXCEPTION_WHAT (   __CLASS__,
  __MESSAGE__ 
)    const char* __CLASS__::what() const throw(){ return __MESSAGE__ ; }

Definition at line 46 of file exceptions.cpp.


Function Documentation

std::string demangle ( const std::string &  name)

Definition at line 182 of file exceptions.cpp.

void forward_exception_to_r ( const std::exception &  ex)

Definition at line 171 of file exceptions.cpp.

References R_NilValue.

void forward_uncaught_exceptions_to_r ( )

Definition at line 161 of file exceptions.cpp.

References R_NilValue.

Referenced by initUncaughtExceptionHandler().

SEXP initUncaughtExceptionHandler ( )

Definition at line 186 of file exceptions.cpp.

References forward_uncaught_exceptions_to_r(), and R_NilValue.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines