• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>exception</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
8<link rel="up" href="../exceptions.html" title="Exceptions">
9<link rel="prev" href="../exceptions.html" title="Exceptions">
10<link rel="next" href="centroid_exception.html" title="centroid_exception">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="../exceptions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../exceptions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="centroid_exception.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="geometry.reference.exceptions.exception"></a><a class="link" href="exception.html" title="exception">exception</a>
28</h4></div></div></div>
29<p>
30          <a class="indexterm" name="idm45635682074528"></a>
31Base exception class for Boost.Geometry algorithms.
32        </p>
33<h6>
34<a name="geometry.reference.exceptions.exception.h0"></a>
35          <span class="phrase"><a name="geometry.reference.exceptions.exception.description"></a></span><a class="link" href="exception.html#geometry.reference.exceptions.exception.description">Description</a>
36        </h6>
37<p>
38          This class is never thrown. All exceptions thrown in Boost.Geometry are
39          derived from exception, so it might be convenient to catch it.
40        </p>
41<h6>
42<a name="geometry.reference.exceptions.exception.h1"></a>
43          <span class="phrase"><a name="geometry.reference.exceptions.exception.synopsis"></a></span><a class="link" href="exception.html#geometry.reference.exceptions.exception.synopsis">Synopsis</a>
44        </h6>
45<p>
46</p>
47<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">exception</span>
48      <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">exception</span>
49<span class="special">{</span>
50  <span class="comment">// ...</span>
51<span class="special">};</span>
52</pre>
53<p>
54        </p>
55<h6>
56<a name="geometry.reference.exceptions.exception.h2"></a>
57          <span class="phrase"><a name="geometry.reference.exceptions.exception.member_function_s_"></a></span><a class="link" href="exception.html#geometry.reference.exceptions.exception.member_function_s_">Member
58          Function(s)</a>
59        </h6>
60<div class="informaltable"><table class="table">
61<colgroup>
62<col>
63<col>
64<col>
65<col>
66</colgroup>
67<thead><tr>
68<th>
69                  <p>
70                    Function
71                  </p>
72                </th>
73<th>
74                  <p>
75                    Description
76                  </p>
77                </th>
78<th>
79                  <p>
80                    Parameters
81                  </p>
82                </th>
83<th>
84                  <p>
85                    Returns
86                  </p>
87                </th>
88</tr></thead>
89<tbody><tr>
90<td>
91                  <p>
92</p>
93<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">char</span> <span class="keyword">const</span>  <span class="special">*</span> <span class="identifier">what</span><span class="special">()</span></pre>
94<p>
95                  </p>
96                </td>
97<td>
98                </td>
99<td>
100                </td>
101<td>
102                </td>
103</tr></tbody>
104</table></div>
105<h6>
106<a name="geometry.reference.exceptions.exception.h3"></a>
107          <span class="phrase"><a name="geometry.reference.exceptions.exception.header"></a></span><a class="link" href="exception.html#geometry.reference.exceptions.exception.header">Header</a>
108        </h6>
109<p>
110          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">core</span><span class="special">/</span><span class="identifier">exception</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
111        </p>
112</div>
113<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
114<td align="left"></td>
115<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
116      Wulkiewicz, Oracle and/or its affiliates<p>
117        Distributed under the Boost Software License, Version 1.0. (See accompanying
118        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
119      </p>
120</div></td>
121</tr></table>
122<hr>
123<div class="spirit-nav">
124<a accesskey="p" href="../exceptions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../exceptions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="centroid_exception.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
125</div>
126</body>
127</html>
128