Open
Graph Drawing
Framework

 v. snapshot-2018-03-28
 

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::PreconditionViolatedException
 Exception thrown when preconditions are violated. 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...
 
enum  ogdf::PreconditionViolatedCode {
  ogdf::PreconditionViolatedCode::Unknown, ogdf::PreconditionViolatedCode::SelfLoop, ogdf::PreconditionViolatedCode::TreeHierarchies, ogdf::PreconditionViolatedCode::AcyclicHierarchies, ogdf::PreconditionViolatedCode::SingleSource, ogdf::PreconditionViolatedCode::UpwardPlanar, ogdf::PreconditionViolatedCode::Tree, ogdf::PreconditionViolatedCode::Forest, ogdf::PreconditionViolatedCode::Orthogonal, ogdf::PreconditionViolatedCode::Planar, ogdf::PreconditionViolatedCode::ClusterPlanar, ogdf::PreconditionViolatedCode::NoCopy, ogdf::PreconditionViolatedCode::Connected, ogdf::PreconditionViolatedCode::Biconnected,
  ogdf::PreconditionViolatedCode::Full, ogdf::PreconditionViolatedCode::STOP
}
 Error code for a violated precondition. 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 110 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 177 of file exceptions.h.

◆ PreconditionViolatedCode

Error code for a violated precondition.

See also
PreconditionViolatedException
Enumerator
Unknown 
SelfLoop 

graph contains a self-loop

TreeHierarchies 

hierarchies are not only trees

AcyclicHierarchies 

hierarchies are not acyclic

SingleSource 

graph has not a single source

UpwardPlanar 

graph is not upward planar

Tree 

graph is not a rooted tree

Forest 

graph is not a rooted forest

Orthogonal 

layout is not orthogonal

Planar 

graph is not planar

ClusterPlanar 

graph is not c-planar

NoCopy 

graph is not a copy of the corresponding graph

Connected 

graph is not connected

Biconnected 

graph is not twoconnected

Full 

datastructure is already full

STOP 

Definition at line 85 of file exceptions.h.