Open
Graph Drawing
Framework

 v.2012.07
 

exceptions.h File Reference

Definition of exception classes. More...

#include <stdio.h>
#include <ogdf/basic/basic.h>

Go to the source code of this file.

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

Namespaces

namespace  ogdf
 The namespace for all OGDF objects.

Macros

#define OGDF_EXCEPTIONS_H
#define OGDF_THROW(CLASS)   throw CLASS ( )
#define OGDF_THROW_PARAM(CLASS, PARAM)   throw CLASS ( PARAM )

Enumerations

enum  ogdf::AlgorithmFailureCode { ogdf::afcUnknown, ogdf::afcIllegalParameter, ogdf::afcNoFlow, ogdf::afcSort, ogdf::afcLabel, ogdf::afcExternalFace, ogdf::afcForbiddenCrossing, ogdf::afcTimelimitExceeded, ogdf::afcNoSolutionFound, ogdf::afcSTOP }
 Code for an internal failure condition. More...
enum  ogdf::LibraryNotSupportedCode { ogdf::lnscUnknown, ogdf::lnscCoin, ogdf::lnscAbacus, ogdf::lnscFunctionNotImplemented, ogdf::lnscMissingCallbackImplementation, ogdf::lnscSTOP }
 Code for the library which was intended to get used, but its use is not supported. More...
enum  ogdf::PreconditionViolatedCode {
  ogdf::pvcUnknown, ogdf::pvcSelfLoop, ogdf::pvcTreeHierarchies, ogdf::pvcAcyclicHierarchies, ogdf::pvcSingleSource, ogdf::pvcUpwardPlanar, ogdf::pvcTree, ogdf::pvcForest, ogdf::pvcOrthogonal, ogdf::pvcPlanar, ogdf::pvcClusterPlanar, ogdf::pvcNoCopy, ogdf::pvcConnected, ogdf::pvcBiconnected,
  ogdf::pvcSTOP
}
 Error code for a violated precondition. More...

Detailed Description

Definition of exception classes.

Author:
Carsten Gutwenger, Markus Chimani
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.txt in the root directory of the OGDF installation for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file exceptions.h.


Macro Definition Documentation

#define OGDF_EXCEPTIONS_H

Definition at line 52 of file exceptions.h.

#define OGDF_THROW (   CLASS)    throw CLASS ( )

Definition at line 72 of file exceptions.h.

#define OGDF_THROW_PARAM (   CLASS,
  PARAM 
)    throw CLASS ( PARAM )

Definition at line 71 of file exceptions.h.