Exception thrown when an algorithm realizes an internal bug that prevents it from continuing. More...
#include <ogdf/basic/exceptions.h>
Inheritance diagram for ogdf::AlgorithmFailureException:Public Member Functions | |
| AlgorithmFailureException (AlgorithmFailureCode code, const char *file=nullptr, int line=-1) | |
| Constructs an algorithm failure exception. | |
| AlgorithmFailureException (const char *file=nullptr, int line=-1) | |
| Constructs an algorithm failure exception. | |
| AlgorithmFailureCode | exceptionCode () const |
| Returns the error code of the exception. | |
Public Member Functions inherited from ogdf::Exception | |
| 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. | |
Private Attributes | |
| AlgorithmFailureCode | m_exceptionCode |
| The error code specifying the exception. | |
Exception thrown when an algorithm realizes an internal bug that prevents it from continuing.
Definition at line 241 of file exceptions.h.
|
inlineexplicit |
Constructs an algorithm failure exception.
Definition at line 244 of file exceptions.h.
|
inlineexplicit |
Constructs an algorithm failure exception.
Definition at line 249 of file exceptions.h.
|
inline |
Returns the error code of the exception.
Definition at line 253 of file exceptions.h.
|
private |
The error code specifying the exception.
Definition at line 256 of file exceptions.h.