Exception thrown when an algorithm realizes an internal bug that prevents it from continuing.
More...
#include <ogdf/basic/exceptions.h>
Exception thrown when an algorithm realizes an internal bug that prevents it from continuing.
Definition at line 247 of file exceptions.h.
◆ AlgorithmFailureException() [1/2]
ogdf::AlgorithmFailureException::AlgorithmFailureException |
( |
AlgorithmFailureCode |
code, |
|
|
const char * |
file = nullptr , |
|
|
int |
line = -1 |
|
) |
| |
|
inlineexplicit |
Constructs an algorithm failure exception.
Definition at line 250 of file exceptions.h.
◆ AlgorithmFailureException() [2/2]
ogdf::AlgorithmFailureException::AlgorithmFailureException |
( |
const char * |
file = nullptr , |
|
|
int |
line = -1 |
|
) |
| |
|
inlineexplicit |
Constructs an algorithm failure exception.
Definition at line 255 of file exceptions.h.
◆ codeToString()
◆ exceptionCode()
Returns the error code of the exception.
Definition at line 259 of file exceptions.h.
◆ what()
const char* ogdf::AlgorithmFailureException::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ m_exceptionCode
The error code specifying the exception.
Definition at line 266 of file exceptions.h.
The documentation for this class was generated from the following file: