Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

Exception Handling

Provides support for exception handling in OGDF. More...

Classes

class  ogdf::AlgorithmFailureException
 Exception thrown when an algorithm realizes an internal bug that prevents it from continuing. More...
 
class  ogdf::DynamicCastFailedException
 Exception thrown when result of cast is 0. More...
 
class  ogdf::Exception
 Base class of all ogdf exceptions. More...
 
class  ogdf::InsufficientMemoryException
 Exception thrown when not enough memory is available to execute an algorithm. More...
 
class  ogdf::LibraryNotSupportedException
 Exception thrown when an external library shall be used which is not supported. More...
 
class  ogdf::NoStdComparerException
 Exception thrown when a required standard comparer has not been specialized. More...
 
class  ogdf::TypeNotSupportedException
 Exception thrown when a data type is not supported by a generic function. More...
 

Enumerations

enum  ogdf::AlgorithmFailureCode {
  ogdf::AlgorithmFailureCode::Unknown, ogdf::AlgorithmFailureCode::IllegalParameter, ogdf::AlgorithmFailureCode::NoFlow, ogdf::AlgorithmFailureCode::Sort, ogdf::AlgorithmFailureCode::Label, ogdf::AlgorithmFailureCode::ExternalFace, ogdf::AlgorithmFailureCode::ForbiddenCrossing, ogdf::AlgorithmFailureCode::TimelimitExceeded, ogdf::AlgorithmFailureCode::NoSolutionFound, ogdf::AlgorithmFailureCode::IndexOutOfBounds, ogdf::AlgorithmFailureCode::PrimalBound, ogdf::AlgorithmFailureCode::DualBound, ogdf::AlgorithmFailureCode::NotInteger, ogdf::AlgorithmFailureCode::Buffer,
  ogdf::AlgorithmFailureCode::AddVar, ogdf::AlgorithmFailureCode::Sorter, ogdf::AlgorithmFailureCode::Phase, ogdf::AlgorithmFailureCode::Active, ogdf::AlgorithmFailureCode::NoSolution, ogdf::AlgorithmFailureCode::MakeFeasible, ogdf::AlgorithmFailureCode::Guarantee, ogdf::AlgorithmFailureCode::BranchingVariable, ogdf::AlgorithmFailureCode::Strategy, ogdf::AlgorithmFailureCode::CloseHalf, ogdf::AlgorithmFailureCode::StandardPool, ogdf::AlgorithmFailureCode::Variable, ogdf::AlgorithmFailureCode::LpIf, ogdf::AlgorithmFailureCode::Lp,
  ogdf::AlgorithmFailureCode::Bstack, ogdf::AlgorithmFailureCode::LpStatus, ogdf::AlgorithmFailureCode::BranchingRule, ogdf::AlgorithmFailureCode::FixSet, ogdf::AlgorithmFailureCode::LpSub, ogdf::AlgorithmFailureCode::String, ogdf::AlgorithmFailureCode::Constraint, ogdf::AlgorithmFailureCode::Pool, ogdf::AlgorithmFailureCode::Global, ogdf::AlgorithmFailureCode::FsVarStat, ogdf::AlgorithmFailureCode::LpVarStat, ogdf::AlgorithmFailureCode::OsiIf, ogdf::AlgorithmFailureCode::ConBranchRule, ogdf::AlgorithmFailureCode::Timer,
  ogdf::AlgorithmFailureCode::Array, ogdf::AlgorithmFailureCode::Csense, ogdf::AlgorithmFailureCode::BPrioQueue, ogdf::AlgorithmFailureCode::FixCand, ogdf::AlgorithmFailureCode::BHeap, ogdf::AlgorithmFailureCode::Poolslot, ogdf::AlgorithmFailureCode::SparVec, ogdf::AlgorithmFailureCode::Convar, ogdf::AlgorithmFailureCode::Ostream, ogdf::AlgorithmFailureCode::Hash, ogdf::AlgorithmFailureCode::Paramaster, ogdf::AlgorithmFailureCode::InfeasCon, ogdf::AlgorithmFailureCode::STOP
}
 Code for an internal failure condition. More...
 
enum  ogdf::LibraryNotSupportedCode { ogdf::LibraryNotSupportedCode::Unknown, ogdf::LibraryNotSupportedCode::Coin, ogdf::LibraryNotSupportedCode::Abacus, ogdf::LibraryNotSupportedCode::FunctionNotImplemented, ogdf::LibraryNotSupportedCode::MissingCallbackImplementation, ogdf::LibraryNotSupportedCode::STOP }
 Code for the library which was intended to get used, but its use is not supported. More...
 

Detailed Description

Provides support for exception handling in OGDF.

Enumeration Type Documentation

◆ AlgorithmFailureCode

Code for an internal failure condition.

See also
AlgorithmFailureException
Enumerator
Unknown 
IllegalParameter 

function parameter is illegal

NoFlow 

min-cost flow could not find a legal flow

Sort 

sequence not sorted

Label 

labelling failed

ExternalFace 

external face not correct

ForbiddenCrossing 

crossing forbidden but necessary

TimelimitExceeded 

it took too long

NoSolutionFound 

couldn't solve the problem

IndexOutOfBounds 

index out of bounds

PrimalBound 
DualBound 
NotInteger 
Buffer 
AddVar 
Sorter 
Phase 
Active 
NoSolution 
MakeFeasible 
Guarantee 
BranchingVariable 
Strategy 
CloseHalf 
StandardPool 
Variable 
LpIf 
Lp 
Bstack 
LpStatus 
BranchingRule 
FixSet 
LpSub 
String 
Constraint 
Pool 
Global 
FsVarStat 
LpVarStat 
OsiIf 
ConBranchRule 
Timer 
Array 
Csense 
BPrioQueue 
FixCand 
BHeap 
Poolslot 
SparVec 
Convar 
Ostream 
Hash 
Paramaster 
InfeasCon 
STOP 

Definition at line 85 of file exceptions.h.

◆ LibraryNotSupportedCode

Code for the library which was intended to get used, but its use is not supported.

See also
LibraryNotSupportedException
Enumerator
Unknown 
Coin 

COIN not supported.

Abacus 

ABACUS not supported.

FunctionNotImplemented 

the used library doesn't support that function

MissingCallbackImplementation 
STOP 

Definition at line 152 of file exceptions.h.