Exception thrown when result of cast is 0. More...
#include <ogdf/basic/exceptions.h>
Public Member Functions | |
DynamicCastFailedException (const char *file=nullptr, int line=-1) | |
Constructs a dynamic cast failed exception. More... | |
Public Member Functions inherited from ogdf::Exception | |
Exception (const char *file=nullptr, int line=-1) | |
Constructs an exception. More... | |
const char * | file () const |
Returns the name of the source file where exception was thrown. More... | |
int | line () const |
Returns the line number where the exception was thrown. More... | |
const char * | what () const noexcept override |
Exception thrown when result of cast is 0.
Definition at line 198 of file exceptions.h.
|
inlineexplicit |
Constructs a dynamic cast failed exception.
Definition at line 201 of file exceptions.h.