1 <?xml version=
"1.0" encoding=
"UTF-8" standalone=
"no"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml"><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" /><title>Chapter
7. Exceptions
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.75.2" /><meta name=
"keywords" content=
" ISO C++ , library " /><link rel=
"home" href=
"../spine.html" title=
"The GNU C++ Library Documentation" /><link rel=
"up" href=
"diagnostics.html" title=
"Part III. Diagnostics" /><link rel=
"prev" href=
"diagnostics.html" title=
"Part III. Diagnostics" /><link rel=
"next" href=
"bk01pt03ch07s02.html" title=
"Adding Data to Exceptions" /></head><body><div class=
"navheader"><table width=
"100%" summary=
"Navigation header"><tr><th colspan=
"3" align=
"center">Chapter
7. Exceptions
</th></tr><tr><td width=
"20%" align=
"left"><a accesskey=
"p" href=
"diagnostics.html">Prev
</a> </td><th width=
"60%" align=
"center">Part III.
6 </th><td width=
"20%" align=
"right"> <a accesskey=
"n" href=
"bk01pt03ch07s02.html">Next
</a></td></tr></table><hr /></div><div class=
"chapter" title=
"Chapter 7. Exceptions"><div class=
"titlepage"><div><div><h2 class=
"title"><a id=
"manual.diagnostics.exceptions"></a>Chapter
7. Exceptions
</h2></div></div></div><div class=
"toc"><p><b>Table of Contents
</b></p><dl><dt><span class=
"sect1"><a href=
"exceptions.html#manual.diagnostics.exceptions.hierarchy">Exception Classes
</a></span></dt><dt><span class=
"sect1"><a href=
"bk01pt03ch07s02.html">Adding Data to Exceptions
</a></span></dt></dl></div><div class=
"sect1" title=
"Exception Classes"><div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both"><a id=
"manual.diagnostics.exceptions.hierarchy"></a>Exception Classes
</h2></div></div></div><p>
7 All exception objects are defined in one of the standard header
8 files:
<code class=
"filename">exception
</code>,
9 <code class=
"filename">stdexcept
</code>,
<code class=
"filename">new
</code>, and
10 <code class=
"filename">typeinfo
</code>.
12 The base exception object is
<code class=
"classname">exception
</code>,
13 located in
<code class=
"filename">exception
</code>. This object has no
14 <code class=
"classname">string
</code> member.
16 Derived from this are several classes that may have a
17 <code class=
"classname">string
</code> member: a full hierarchy can be
18 found in the
<a class=
"ulink" href=
"http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00460.html" target=
"_top">source documentation
</a>.
19 </p></div></div><div class=
"navfooter"><hr /><table width=
"100%" summary=
"Navigation footer"><tr><td width=
"40%" align=
"left"><a accesskey=
"p" href=
"diagnostics.html">Prev
</a> </td><td width=
"20%" align=
"center"><a accesskey=
"u" href=
"diagnostics.html">Up
</a></td><td width=
"40%" align=
"right"> <a accesskey=
"n" href=
"bk01pt03ch07s02.html">Next
</a></td></tr><tr><td width=
"40%" align=
"left" valign=
"top">Part III.
22 </td><td width=
"20%" align=
"center"><a accesskey=
"h" href=
"../spine.html">Home
</a></td><td width=
"40%" align=
"right" valign=
"top"> Adding Data to Exceptions
</td></tr></table></div></body></html>