Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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. 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...
 

Detailed Description

Exception thrown when result of cast is 0.

Definition at line 201 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 205 of file exceptions.h.


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