Reinforcement Learning Toolbox 2.0
last updated:
General
Documentation
Manual
Tutorial
Class Reference
Master Thesis
Examples
Related Papers
Downloads
Links
News
mailto:webmaster
Main Page     Class Hierarchy   Compound List   File List   Compound Members   File Members

CMyException Class Reference

Interface for all Exception classes used by the toolbox. More...

#include <cmyexception.h>

Inheritance diagram for CMyException:

CDivergentQFunctionException CDivergentVFunctionException List of all members.


Public Member Functions

  CMyException (int errorNum, string exceptionName)
virtual  ~CMyException ()
virtual string  getErrorMsg ()


Protected Member Functions

virtual string  getInnerErrorMsg ()=0


Protected Attributes

int  errorNum
string  exceptionName

Detailed Description

Interface for all Exception classes used by the toolbox.

Each exception has an errornumber and an exception name. Additionally each subclass has to provide the function getInnerErrorMessage, which has to return a more detailed error message. The function getErrorMsg formats the inner errormessage with the errornumber and the exceptionname. Following error numbers and exceptions exists:

The error system definitely needs some reworking!!!


Constructor & Destructor Documentation

CMyException::CMyException int  errorNum,
string  exceptionName
 
virtual CMyException::~CMyException  )  [inline, virtual]
 

Member Function Documentation

virtual string CMyException::getErrorMsg  )  [virtual]
 
virtual string CMyException::getInnerErrorMsg  )  [protected, pure virtual]
 

Implemented in CDivergentQFunctionException, and CDivergentVFunctionException.


Member Data Documentation

int CMyException::errorNum [protected]
 
string CMyException::exceptionName [protected]
 

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