degate  0.1.2
Public Member Functions
degate::DegateLogicException Class Reference

Represents a this-should-not-happen problem and indicates a programming error. More...

#include <degate_exceptions.h>

Inheritance diagram for degate::DegateLogicException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DegateLogicException ()
 DegateLogicException (std::string str)

Detailed Description

Represents a this-should-not-happen problem and indicates a programming error.

This class is is derived from std::logic_error. This excpetion should not go unnoticed. You should not catch it. It is ok, that the application will abort, because this exception already indicates that it is already broken.

Todo:
Check for std::logic_error exceptions in the code and replace it with a GenericDegateException.

Definition at line 65 of file degate_exceptions.h.


Constructor & Destructor Documentation

Definition at line 67 of file degate_exceptions.h.

                           :
      std::logic_error("There is a generic logic error in libdegate. "
                       "This indicates a programming error.") {}

Definition at line 70 of file degate_exceptions.h.

: std::logic_error(str) {}

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