Rcpp Version 0.9.10
interrupt_exception Class Reference

List of all members.

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 ( std::string  message) [inline]

Constructor.

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

Definition at line 22 of file piWithInterrupts.cpp.

virtual interrupt_exception::~interrupt_exception ( ) throw () [inline, virtual]

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

Definition at line 29 of file piWithInterrupts.cpp.


Member Function Documentation

virtual const char* interrupt_exception::what ( ) const throw () [inline, virtual]

Obtain a description of the exception.

Returns:
Description.

Definition at line 35 of file piWithInterrupts.cpp.

References detailed_message.


Member Data Documentation

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines