Rcpp Version 1.0.0
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=RCPP_DEFAULT_INCLUDE_CALL)
 
 exception (const char *message_, const char *, int, bool include_call=RCPP_DEFAULT_INCLUDE_CALL)
 
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 35 of file exceptions.h.

Constructor & Destructor Documentation

◆ exception() [1/2]

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

Definition at line 37 of file exceptions.h.

References rcpp_set_stack_trace(), and stack_trace().

Here is the call graph for this function:

◆ exception() [2/2]

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

Definition at line 42 of file exceptions.h.

References rcpp_set_stack_trace(), and stack_trace().

Here is the call graph for this function:

◆ ~exception()

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

Definition at line 50 of file exceptions.h.

Member Function Documentation

◆ include_call()

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

Definition at line 47 of file exceptions.h.

References include_call_.

Referenced by rcpp_exception_to_r_condition().

◆ what()

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

Definition at line 51 of file exceptions.h.

References message.

Member Data Documentation

◆ include_call_

bool Rcpp::exception::include_call_
private

Definition at line 56 of file exceptions.h.

Referenced by include_call().

◆ message

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

Definition at line 55 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: