copasi API  0.1
Public Member Functions | Protected Attributes
StdException Class Reference

#include <StdException.h>

List of all members.

Public Member Functions

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

Protected Attributes

std::string message

Detailed Description

Simple exception class that implements the what() function of std::exception to specify an error message.


Constructor & Destructor Documentation

StdException::StdException ( ) throw ()

Constructor that sets the error message object to "Error."

StdException::StdException ( const std::string  what) throw () [explicit]

Constructor that sets the error message object to the string given.

StdException::~StdException ( ) throw () [virtual]

Destructor that does nothing.


Member Function Documentation

const char * StdException::what ( ) const throw () [virtual]

Returns the error message object as a character array.


Member Data Documentation

std::string StdException::message [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines