Definition of exception classes.
More...
#include <stdio.h>
#include <ogdf/basic/basic.h>
Go to the source code of this file.
Classes |
| class | ogdf::Exception |
| | Base class of all ogdf exceptions. More...
|
| class | ogdf::DynamicCastFailedException |
| | Exception thrown when result of cast is 0. More...
|
| class | ogdf::InsufficientMemoryException |
| | Exception thrown when not enough memory is available to execute an algorithm. 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::AlgorithmFailureException |
| | Exception thrown when an algorithm realizes an internal bug that prevents it from continueing. More...
|
| class | ogdf::LibraryNotSupportedException |
| | Exception thrown when an external library shall be used which is not supported. More...
|
Namespaces |
| namespace | ogdf |
| | The namespace for all OGDF objects.
|
Defines |
| #define | OGDF_THROW_PARAM(CLASS, PARAM) throw CLASS ( PARAM ) |
| #define | OGDF_THROW(CLASS) throw CLASS ( ) |
Enumerations |
| 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...
|
| 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...
|
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). All rights reserved. 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 and appearing in the files LICENSE_GPL_v2.txt and LICENSE_GPL_v3.txt included in the packaging of this file.
- In addition, as a special exception, you have permission to link this software with the libraries of the COIN-OR Osi project (http://www.coin-or.org/projects/Osi.xml), all libraries required by Osi, and all LP-solver libraries directly supported by the COIN-OR Osi project, and distribute executables, as long as you follow the requirements of the GNU General Public License in regard to all of the software in the executable aside from these third-party libraries.
- 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.
Define Documentation
| #define OGDF_THROW |
( |
|
CLASS |
) |
throw CLASS ( ) |
| #define OGDF_THROW_PARAM |
( |
|
CLASS, |
|
|
|
PARAM | |
|
) |
| | throw CLASS ( PARAM ) |