Base class of all ogdf exceptions. More...
#include <ogdf/basic/exceptions.h>
 Inheritance diagram for ogdf::Exception:
 Inheritance diagram for ogdf::Exception:| Public Member Functions | |
| Exception (const char *file=nullptr, int line=-1) | |
| Constructs an exception. | |
| const char * | file () const | 
| Returns the name of the source file where exception was thrown. | |
| int | line () const | 
| Returns the line number where the exception was thrown. | |
| const char * | what () const noexcept override | 
| Private Attributes | |
| const char * | m_file | 
| Source file where exception occurred. | |
| int | m_line | 
| Line number where exception occurred. | |
Base class of all ogdf exceptions.
Definition at line 166 of file exceptions.h.
| 
 | inlineexplicit | 
Constructs an exception.
| file | is the name of the source file where exception was thrown. | 
| line | is the line number in the source file where the exception was thrown. | 
Definition at line 177 of file exceptions.h.
| 
 | inline | 
Returns the name of the source file where exception was thrown.
Returns a null pointer if the name of the source file is unknown.
Definition at line 183 of file exceptions.h.
| 
 | inline | 
Returns the line number where the exception was thrown.
Returns -1 if the line number is unknown.
Definition at line 189 of file exceptions.h.
| 
 | inlineoverridenoexcept | 
Definition at line 191 of file exceptions.h.
| 
 | private | 
Source file where exception occurred.
Definition at line 168 of file exceptions.h.
| 
 | private | 
Line number where exception occurred.
Definition at line 169 of file exceptions.h.