Rcpp Version 1.0.9
interrupt_exception Class Reference
Inheritance diagram for interrupt_exception:
Collaboration diagram for interrupt_exception:

Public Member Functions

 interrupt_exception (std::string message)
 
virtual ~interrupt_exception () throw ()
 
virtual const char * what () const throw ()
 

Public Attributes

std::string detailed_message
 

Detailed Description

Base class for interrupt exceptions thrown when user interrupts are detected.

Definition at line 15 of file piWithInterrupts.cpp.

Constructor & Destructor Documentation

◆ interrupt_exception()

interrupt_exception::interrupt_exception ( std::string  message)
inline

Constructor.

Parameters
[in]messageA description of event that caused this exception.

Definition at line 22 of file piWithInterrupts.cpp.

◆ ~interrupt_exception()

virtual interrupt_exception::~interrupt_exception ( )
throw (
)
inlinevirtual

Virtual destructor. Needed to avoid "looser throw specification" errors.

Definition at line 29 of file piWithInterrupts.cpp.

Member Function Documentation

◆ what()

virtual const char* interrupt_exception::what ( ) const
throw (
)
inlinevirtual

Obtain a description of the exception.

Returns
Description.

Definition at line 35 of file piWithInterrupts.cpp.

References detailed_message.

Member Data Documentation

◆ detailed_message

std::string interrupt_exception::detailed_message

String with details on the error.

Definition at line 42 of file piWithInterrupts.cpp.

Referenced by what().


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