COPASI API  4.40.278
StdException Class Reference

#include <StdException.h>

Inheritance diagram for StdException:
[legend]

Public Member Functions

 StdException () throw ()
 
 StdException (const std::string what) throw ()
 
virtual const char * what () const throw ()
 
virtual ~StdException () 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() [1/2]

StdException::StdException ( )
throw (
)

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

References message.

◆ StdException() [2/2]

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

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

◆ ~StdException()

StdException::~StdException ( )
throw (
)
virtual

Destructor that does nothing.

Member Function Documentation

◆ what()

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

Returns the error message object as a character array.

References message.

Member Data Documentation

◆ message

std::string StdException::message
protected

Referenced by StdException(), and what().


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