Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::DynamicCastFailedException Class Reference

Exception thrown when result of cast is 0. More...

#include <ogdf/basic/exceptions.h>

+ Inheritance diagram for ogdf::DynamicCastFailedException:

Public Member Functions

 DynamicCastFailedException (const char *file=nullptr, int line=-1)
 Constructs a dynamic cast failed 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.
 
const char * what () const noexcept override
 

Detailed Description

Exception thrown when result of cast is 0.

Definition at line 198 of file exceptions.h.

Constructor & Destructor Documentation

◆ DynamicCastFailedException()

ogdf::DynamicCastFailedException::DynamicCastFailedException ( const char *  file = nullptr,
int  line = -1 
)
inlineexplicit

Constructs a dynamic cast failed exception.

Definition at line 201 of file exceptions.h.


The documentation for this class was generated from the following file: