DOpE
Public Member Functions
DOpE::DOpEException Class Reference

#include <dopeexception.h>

Inheritance diagram for DOpE::DOpEException:
DOpE::DOpEIterationException DOpE::DOpENegativeCurvatureException

Public Member Functions

 DOpEException (std::string message, std::string thrower="unspecified throwing instance")
 
 ~DOpEException ()
 
std::string GetErrorMessage ()
 
std::string GetThrowingInstance ()
 
virtual std::string GetName ()
 

Detailed Description

This class is the base for all exceptions thrown by methods implemented in DOpE.

Constructor & Destructor Documentation

DOpE::DOpEException::DOpEException ( std::string  message,
std::string  thrower = "unspecified throwing instance" 
)
inline

The Constructor for all exceptions.

Parameters
messageAn (hopefully) informative error message, e.g., what is wrong.
throwerInformation on where (wich method) the exception occured.
DOpE::DOpEException::~DOpEException ( )
inline

Member Function Documentation

std::string DOpE::DOpEException::GetErrorMessage ( )
inline

Access method for the stored error message.

Returns
A string containing the message by which this object was initialized.
virtual std::string DOpE::DOpEException::GetName ( )
inlinevirtual
std::string DOpE::DOpEException::GetThrowingInstance ( )
inline

Access method for the stored throwing instance.

Returns
A string containing the throwing instance by which this object was initialized.

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