Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/graph/doc/exception.html @ 30

Last change on this file since 30 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 1.4 KB
Line 
1<HTML>
2<!--
3  -- Copyright (c) Jeremy Siek 2002
4  --
5  -- Distributed under the Boost Software License, Version 1.0.
6  -- (See accompanying file LICENSE_1_0.txt or copy at
7  -- http://www.boost.org/LICENSE_1_0.txt)
8  -->
9<Head>
10<Title>Boost Graph Library: Exceptions</Title>
11<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b" 
12        ALINK="#ff0000"> 
13<IMG SRC="../../../boost.png" 
14     ALT="C++ Boost" width="277" height="86"> 
15
16<BR Clear>
17
18<h1><a href="../../../boost/graph/exception.hpp"><tt>boost/graph/exception.hpp</tt></a></h1>
19
20<P>
21The BGL defines several exception classes for reporting errors from
22BGL algorithms. Many of the BGL algorithms place certain requirements
23on the input graph. If these requirements are not met then the
24algorithm can not successfully complete, and instead throws the
25appropriate exception.
26</P>
27
28<h3>Synopsis</h3>
29
30<pre>
31  struct <a name="bad_graph">bad_graph</a> : public invalid_argument {
32    bad_graph(const string& what_arg);
33  };
34  struct <a name="not_a_dag">not_a_dag</a> : public bad_graph {
35    not_a_dag();
36  };
37  struct <a name="negative_edge">negative_edge</a> : public bad_graph {
38    negative_edge();
39  };
40  struct <a name="negative_cycle">negative_cycle</a> : public bad_graph {
41    negative_cycle();
42  };
43  struct <a name="not_connected">not_connected</a> : public bad_graph {
44    not_connected();
45  };
46</pre>
Note: See TracBrowser for help on using the repository browser.