SGSolve
SGException Class Reference

SGSolve specific exceptions. More...

#include <sgexception.hpp>

Inheritance diagram for SGException:
Collaboration diagram for SGException:

Public Member Functions

 SGException (SG::EXCEPTION_TYPE _type=SG::DEFAULT)
 Constructor for new SGException.
 
virtual const char * what () const throw ()
 Returns the message corresponding to the ExceptionType.
 
SG::EXCEPTION_TYPE getType () const
 Returns the type of the exception.
 

Private Attributes

SG::EXCEPTION_TYPE type
 Flag that indicates the type of error encountered.
 

Detailed Description

SGSolve specific exceptions.

This class is derived from std::exception and handles special messages that are informative about abnormal behavior in SGSolver and associated classes.

Examples
pd_twostate.cpp.

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