Exception thrown when preconditions are violated. More...
#include <ogdf/basic/exceptions.h>
Public Member Functions | |
| PreconditionViolatedException (PreconditionViolatedCode code, const char *file=NULL, int line=-1) | |
| Constructs a precondition violated exception. | |
| PreconditionViolatedException (const char *file=NULL, int line=-1) | |
| Constructs a precondition violated exception. | |
| PreconditionViolatedCode | exceptionCode () const |
| Returns the error code of the exception. | |
Private Attributes | |
| PreconditionViolatedCode | m_exceptionCode |
| The error code specifying the exception. | |
Exception thrown when preconditions are violated.
Definition at line 226 of file exceptions.h.
| ogdf::PreconditionViolatedException::PreconditionViolatedException | ( | PreconditionViolatedCode | code, | |
| const char * | file = NULL, |
|||
| int | line = -1 | |||
| ) | [inline] |
Constructs a precondition violated exception.
Definition at line 230 of file exceptions.h.
| ogdf::PreconditionViolatedException::PreconditionViolatedException | ( | const char * | file = NULL, |
|
| int | line = -1 | |||
| ) | [inline] |
Constructs a precondition violated exception.
Definition at line 238 of file exceptions.h.
| PreconditionViolatedCode ogdf::PreconditionViolatedException::exceptionCode | ( | ) | const [inline] |
Returns the error code of the exception.
Definition at line 246 of file exceptions.h.
The error code specifying the exception.
Definition at line 249 of file exceptions.h.