22 #ifndef _SGEXCEPTION_HPP
23 #define _SGEXCEPTION_HPP
25 #include "sgnamespace.hpp"
26 #include "sgcommon.hpp"
42 virtual const char*
what()
const throw();
SGException(SG::EXCEPTION_TYPE _type=SG::DEFAULT)
Constructor for new SGException.
Definition: sgexception.hpp:39
SGSolve specific exceptions.
Definition: sgexception.hpp:36
SG::EXCEPTION_TYPE getType() const
Returns the type of the exception.
Definition: sgexception.hpp:45
@ DEFAULT
Definition: sgnamespace.hpp:31
SG::EXCEPTION_TYPE type
Flag that indicates the type of error encountered.
Definition: sgexception.hpp:52
virtual const char * what() const
Returns the message corresponding to the ExceptionType.
Definition: sgexception.cpp:24
Namespace for enumerations associated with SGSolve.
Definition: sgnamespace.hpp:27
EXCEPTION_TYPE
Code for the type of error.
Definition: sgnamespace.hpp:30