Rcpp Version 1.0.7
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)


[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 (

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 (

Obtain a description of the exception.


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: