Exception Class Reference
[GDB]

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 ()
 Destructor.

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.

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

Constructor & Destructor Documentation

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

Creates a new instance.

Parameters:
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.

Returns:
The message of the exception.

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

Sets the message of the exception.

Parameters:
mess [in] Message.


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

Generated on Tue Jul 16 12:10:17 2013 for Dex by  doxygen 1.5.6