Exception thrown when an algorithm realizes an internal bug that prevents it from continueing. More...
#include <ogdf/basic/exceptions.h>
Public Member Functions | |
| AlgorithmFailureException (AlgorithmFailureCode code, const char *file=NULL, int line=-1) | |
| Constructs an algorithm failure exception. | |
| AlgorithmFailureException (const char *file=NULL, int line=-1) | |
| Constructs an algorithm failure exception. | |
| AlgorithmFailureCode | exceptionCode () const |
| Returns the error code of the exception. | |
Private Attributes | |
| AlgorithmFailureCode | m_exceptionCode |
| The error code specifying the exception. | |
Exception thrown when an algorithm realizes an internal bug that prevents it from continueing.
Definition at line 255 of file exceptions.h.
| ogdf::AlgorithmFailureException::AlgorithmFailureException | ( | AlgorithmFailureCode | code, | |
| const char * | file = NULL, |
|||
| int | line = -1 | |||
| ) | [inline] |
Constructs an algorithm failure exception.
Definition at line 260 of file exceptions.h.
| ogdf::AlgorithmFailureException::AlgorithmFailureException | ( | const char * | file = NULL, |
|
| int | line = -1 | |||
| ) | [inline] |
Constructs an algorithm failure exception.
Definition at line 268 of file exceptions.h.
| AlgorithmFailureCode ogdf::AlgorithmFailureException::exceptionCode | ( | ) | const [inline] |
Returns the error code of the exception.
Definition at line 276 of file exceptions.h.
The error code specifying the exception.
Definition at line 279 of file exceptions.h.