Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Private Attributes

ogdf::AlgorithmFailureException Class Reference

Exception thrown when an algorithm realizes an internal bug that prevents it from continueing. More...

#include <ogdf/basic/exceptions.h>

Inheritance diagram for ogdf::AlgorithmFailureException:
ogdf::Exception

List of all members.

Public Member Functions

 AlgorithmFailureException (AlgorithmFailureCode code, const char *file=NULL, int line=-1)
 Constructs an algorithm failure exception.
 AlgorithmFailureException (const char *file=NULL, int line=-1)
 Constructs an algorithm failure exception.
AlgorithmFailureCode exceptionCode () const
 Returns the error code of the exception.

Private Attributes

AlgorithmFailureCode m_exceptionCode
 The error code specifying the exception.

Detailed Description

Exception thrown when an algorithm realizes an internal bug that prevents it from continueing.

Definition at line 255 of file exceptions.h.


Constructor & Destructor Documentation

ogdf::AlgorithmFailureException::AlgorithmFailureException ( AlgorithmFailureCode  code,
const char *  file = NULL,
int  line = -1 
) [inline]

Constructs an algorithm failure exception.

Definition at line 260 of file exceptions.h.

ogdf::AlgorithmFailureException::AlgorithmFailureException ( const char *  file = NULL,
int  line = -1 
) [inline]

Constructs an algorithm failure exception.

Definition at line 268 of file exceptions.h.


Member Function Documentation

AlgorithmFailureCode ogdf::AlgorithmFailureException::exceptionCode (  )  const [inline]

Returns the error code of the exception.

Definition at line 276 of file exceptions.h.


Member Data Documentation

The error code specifying the exception.

Definition at line 279 of file exceptions.h.


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