Rcpp Version 0.12.12
Rcpp::exception Class Reference

#include <exceptions.h>

Inheritance diagram for Rcpp::exception:
Collaboration diagram for Rcpp::exception:

Public Member Functions

 exception (const char *message_, bool include_call=true)
 
 exception (const char *message_, const char *, int, bool include_call=true)
 
bool include_call () const
 
virtual ~exception () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string message
 
bool include_call_
 

Detailed Description

Definition at line 29 of file exceptions.h.

Constructor & Destructor Documentation

Rcpp::exception::exception ( const char *  message_,
bool  include_call = true 
)
inlineexplicit

Definition at line 31 of file exceptions.h.

References rcpp_set_stack_trace(), and stack_trace().

Here is the call graph for this function:

Rcpp::exception::exception ( const char *  message_,
const char *  ,
int  ,
bool  include_call = true 
)
inline

Definition at line 36 of file exceptions.h.

References rcpp_set_stack_trace(), and stack_trace().

Here is the call graph for this function:

virtual Rcpp::exception::~exception ( )
throw (
)
inlinevirtual

Definition at line 44 of file exceptions.h.

Member Function Documentation

bool Rcpp::exception::include_call ( ) const
inline

Definition at line 41 of file exceptions.h.

References include_call_.

Referenced by rcpp_exception_to_r_condition().

virtual const char* Rcpp::exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 45 of file exceptions.h.

References message.

Referenced by rcpp_exception_to_r_condition().

Member Data Documentation

bool Rcpp::exception::include_call_
private

Definition at line 50 of file exceptions.h.

Referenced by include_call().

std::string Rcpp::exception::message
private

Definition at line 49 of file exceptions.h.

Referenced by what(), Rcpp::no_such_env::what(), and Rcpp::file_io_error::what().


The documentation for this class was generated from the following file: