Exception Class Reference

Exception class. More...

Inheritance diagram for Exception:

Inheritance graph

List of all members.

Public Member Functions

 Exception ()
 Creates a new instance.
 Exception (const std::string &mess)
 Creates a new instance.
const std::string & Message () const
 Gets the message of the exception.
void SetMessage (const std::string &mess)
 Sets the message of the exception.
virtual ~Exception ()

Protected Attributes

std::string message
 Message of the exception.

Detailed Description

Exception class.

This is the superclass of those exceptions that can be thrown during the normal execution of a program.

It is expected all methods declare all Exception (or subclasses) they throw.

Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

Exception::Exception ( const std::string &  mess  ) 

Creates a new instance.

mess [in] Message of the exception.

Member Function Documentation

const std::string& Exception::Message (  )  const

Gets the message of the exception.

It should be called GetMessage but this is not possible because of a macro defined in Windows.

The message of the exception.

void Exception::SetMessage ( const std::string &  mess  ) 

Sets the message of the exception.

mess [in] Message.

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

Generated on Tue Jun 2 13:44:12 2015 for Sparksee by  doxygen 1.5.6