3
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4
<title>system_error</title>
5
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="../../index.html" title="Asio">
8
<link rel="up" href="../reference.html" title="Reference">
9
<link rel="prev" href="streambuf.html" title="streambuf">
10
<link rel="next" href="system_error/code.html" title="system_error::code">
12
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../asio.png"></td></tr></table>
15
<div class="spirit-nav">
16
<a accesskey="p" href="streambuf.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="system_error/code.html"><img src="../../next.png" alt="Next"></a>
18
<div class="section" lang="en">
19
<div class="titlepage"><div><div><h3 class="title">
20
<a name="asio.reference.system_error"></a><a class="link" href="system_error.html" title="system_error"> system_error</a></h3></div></div></div>
22
The system_error class is used to represent system conditions that prevent
23
the library from operating correctly.
25
<pre class="programlisting">
26
<span class="keyword">class</span> <span class="identifier">system_error</span> <span class="special">:</span>
27
<span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">exception</span>
29
<a name="asio.reference.system_error.member_functions"></a><h5>
30
<a name="id2361654"></a>
31
<a class="link" href="system_error.html#asio.reference.system_error.member_functions">Member Functions</a>
33
<div class="informaltable"><table class="table">
54
<a class="link" href="system_error/code.html" title="system_error::code"><span class="bold"><strong>code</strong></span></a>
59
Get the error code associated with the exception.
66
<a class="link" href="system_error/operator_eq_.html" title="system_error::operator="><span class="bold"><strong>operator=</strong></span></a>
78
<a class="link" href="system_error/system_error.html" title="system_error::system_error"><span class="bold"><strong>system_error</strong></span></a>
83
Construct with an error code.
90
<a class="link" href="system_error/what.html" title="system_error::what"><span class="bold"><strong>what</strong></span></a>
95
Get a string representation of the exception.
102
<a class="link" href="system_error/_system_error.html" title="system_error::~system_error"><span class="bold"><strong>~system_error</strong></span></a>
114
<table width="100%"><tr>
115
<td align="left"></td>
116
<td align="right"><div class="copyright-footer">Copyright � 2003 - 2008 Christopher M. Kohlhoff<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>)
123
<div class="spirit-nav">
124
<a accesskey="p" href="streambuf.html"><img src="../../prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../home.png" alt="Home"></a><a accesskey="n" href="system_error/code.html"><img src="../../next.png" alt="Next"></a>