File: classGlib_1_1FileError.html

package info (click to toggle)
glibmm2.4 2.42.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 53,308 kB
  • ctags: 14,868
  • sloc: xml: 108,462; cpp: 15,282; sh: 11,421; perl: 5,139; python: 1,626; makefile: 304
file content (416 lines) | stat: -rw-r--r-- 30,747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>glibmm: Glib::FileError Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">glibmm
   &#160;<span id="projectnumber">2.42.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGlib.html">Glib</a></li><li class="navelem"><a class="el" href="classGlib_1_1FileError.html">FileError</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classGlib_1_1FileError-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Glib::FileError Class Reference<div class="ingroups"><a class="el" href="group__FileUtils.html">File Utilities</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classGlib_1_1Exception.html">Exception</a> class for file-related errors.  
 <a href="classGlib_1_1FileError.html#details">More...</a></p>

<p><code>#include &lt;glibmm/fileutils.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Glib::FileError:</div>
<div class="dyncontent">
<div class="center"><img src="classGlib_1_1FileError__inherit__graph.png" border="0" usemap="#Glib_1_1FileError_inherit__map" alt="Inheritance graph"/></div>
<map name="Glib_1_1FileError_inherit__map" id="Glib_1_1FileError_inherit__map">
<area shape="rect" id="node2" href="classGlib_1_1Error.html" title="Glib::Error" alt="" coords="20,80,105,107"/><area shape="rect" id="node3" href="classGlib_1_1Exception.html" title="Glib::Exception" alt="" coords="5,5,120,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a0bdb855c813c7d07a424009706fc8f0b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a> { <br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe">EXISTS</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94">IS_DIRECTORY</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de">ACCESS_DENIED</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1">NAME_TOO_LONG</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564">NO_SUCH_ENTITY</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991">NOT_DIRECTORY</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571">NO_SUCH_DEVICE</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59">NOT_DEVICE</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b">READONLY_FILESYSTEM</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372">TEXT_FILE_BUSY</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f">FAULTY_ADDRESS</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2">SYMLINK_LOOP</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8">NO_SPACE_LEFT</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e">NOT_ENOUGH_MEMORY</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69">TOO_MANY_OPEN_FILES</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b">FILE_TABLE_OVERFLOW</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5">BAD_FILE_DESCRIPTOR</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3">INVALID_ARGUMENT</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484">BROKEN_PIPE</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef">TRYAGAIN</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f">INTERRUPTED</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41">IO_ERROR</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62">NOT_OWNER</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a">NOSYS</a>, 
<br />
&#160;&#160;<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0ba1ff00bae55bf88a6bd4f5c70b78324b9">FAILED</a>
<br />
 }</td></tr>
<tr class="memdesc:a0bdb855c813c7d07a424009706fc8f0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Values corresponding to <code>errno</code> codes returned from file operations on UNIX.  <a href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">More...</a><br /></td></tr>
<tr class="separator:a0bdb855c813c7d07a424009706fc8f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0acf54ad7899f15d9dba10a42e551181"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1FileError.html#a0acf54ad7899f15d9dba10a42e551181">FileError</a> (<a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a> error_code, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; error_message)</td></tr>
<tr class="separator:a0acf54ad7899f15d9dba10a42e551181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc1bae15e4393814b23e7f0743a081cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1FileError.html#adc1bae15e4393814b23e7f0743a081cc">FileError</a> (GError* gobject)</td></tr>
<tr class="separator:adc1bae15e4393814b23e7f0743a081cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86041a573547b3b349ba0acf2bac7116"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1FileError.html#a86041a573547b3b349ba0acf2bac7116">code</a> () const </td></tr>
<tr class="separator:a86041a573547b3b349ba0acf2bac7116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGlib_1_1Error"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1Error')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGlib_1_1Error.html">Glib::Error</a></td></tr>
<tr class="memitem:a2639aeb2b6a6c43662cf17b8c88a122d inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a2639aeb2b6a6c43662cf17b8c88a122d">Error</a> ()</td></tr>
<tr class="separator:a2639aeb2b6a6c43662cf17b8c88a122d inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40547bd64c5de1ada0feb948428524e5 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a40547bd64c5de1ada0feb948428524e5">Error</a> (GQuark <a class="el" href="classGlib_1_1Error.html#a8d0366db925669aa5841f21e48f278c4">domain</a>, int <a class="el" href="classGlib_1_1Error.html#a073623423095dc52db289bf04a146648">code</a>, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; message)</td></tr>
<tr class="separator:a40547bd64c5de1ada0feb948428524e5 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70257ceb030e4d9dd3ac9a6482830d24 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a70257ceb030e4d9dd3ac9a6482830d24">Error</a> (GError* gobject, bool take_copy=false)</td></tr>
<tr class="separator:a70257ceb030e4d9dd3ac9a6482830d24 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a715ed79ccf7d2fa3a357014fc614a4a4 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a715ed79ccf7d2fa3a357014fc614a4a4">Error</a> (const <a class="el" href="classGlib_1_1Error.html">Error</a>&amp; other)</td></tr>
<tr class="separator:a715ed79ccf7d2fa3a357014fc614a4a4 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd059d3c4d24c3f6a0f6999be41b138 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1Error.html">Error</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a6fd059d3c4d24c3f6a0f6999be41b138">operator=</a> (const <a class="el" href="classGlib_1_1Error.html">Error</a>&amp; other)</td></tr>
<tr class="separator:a6fd059d3c4d24c3f6a0f6999be41b138 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58400627bb4445a54651ae95bb63829 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#ae58400627bb4445a54651ae95bb63829">~Error</a> ()  throw ()</td></tr>
<tr class="separator:ae58400627bb4445a54651ae95bb63829 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d0366db925669aa5841f21e48f278c4 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">GQuark&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a8d0366db925669aa5841f21e48f278c4">domain</a> () const </td></tr>
<tr class="separator:a8d0366db925669aa5841f21e48f278c4 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073623423095dc52db289bf04a146648 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a073623423095dc52db289bf04a146648">code</a> () const </td></tr>
<tr class="separator:a073623423095dc52db289bf04a146648 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5a9ff59ba32b2ddc24c5c6c0c86d605 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#ac5a9ff59ba32b2ddc24c5c6c0c86d605">what</a> () const </td></tr>
<tr class="separator:ac5a9ff59ba32b2ddc24c5c6c0c86d605 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae4921c01b2852ddb48984b4a5ec760c inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#aae4921c01b2852ddb48984b4a5ec760c">matches</a> (GQuark <a class="el" href="classGlib_1_1Error.html#a8d0366db925669aa5841f21e48f278c4">domain</a>, int <a class="el" href="classGlib_1_1Error.html#a073623423095dc52db289bf04a146648">code</a>) const </td></tr>
<tr class="separator:aae4921c01b2852ddb48984b4a5ec760c inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e6636c8ed726b1468ed61c07d65816 inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">GError*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a69e6636c8ed726b1468ed61c07d65816">gobj</a> ()</td></tr>
<tr class="separator:a69e6636c8ed726b1468ed61c07d65816 inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41b5a27b917ecb6a0176387bf357d8cc inherit pub_methods_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">const GError*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#a41b5a27b917ecb6a0176387bf357d8cc">gobj</a> () const </td></tr>
<tr class="separator:a41b5a27b917ecb6a0176387bf357d8cc inherit pub_methods_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGlib_1_1Exception"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1Exception')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGlib_1_1Exception.html">Glib::Exception</a></td></tr>
<tr class="memitem:a44a9c79be10c68a6861f015217ce18fb inherit pub_methods_classGlib_1_1Exception"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Exception.html#a44a9c79be10c68a6861f015217ce18fb">~Exception</a> ()=0  throw ()</td></tr>
<tr class="separator:a44a9c79be10c68a6861f015217ce18fb inherit pub_methods_classGlib_1_1Exception"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classGlib_1_1Error"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classGlib_1_1Error')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classGlib_1_1Error.html">Glib::Error</a></td></tr>
<tr class="memitem:aaf45a78024403f011e31a73c1361c59a inherit pro_attribs_classGlib_1_1Error"><td class="memItemLeft" align="right" valign="top">GError*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Error.html#aaf45a78024403f011e31a73c1361c59a">gobject_</a></td></tr>
<tr class="separator:aaf45a78024403f011e31a73c1361c59a inherit pro_attribs_classGlib_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classGlib_1_1Exception.html">Exception</a> class for file-related errors. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Glib::FileError::Code</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Values corresponding to <code>errno</code> codes returned from file operations on UNIX. </p>
<p>Unlike <code>errno</code> codes, <a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b" title="Values corresponding to errno codes returned from file operations on UNIX. ">FileError::Code</a> values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.</p>
<p>It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba01ff8868a0b220c86c9324c99d3cd4fe"></a>EXISTS&#160;</td><td class="fielddoc">
<p><code>(EEXIST)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baff115ce7e218cc5a4aae85ec8890ab94"></a>IS_DIRECTORY&#160;</td><td class="fielddoc">
<p><code>(EISDIR)</code> File is a directory; you cannot open a directory for writing, or create or remove hard links to it. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa2e3135e38ebcc80a494528091ebd8de"></a>ACCESS_DENIED&#160;</td><td class="fielddoc">
<p><code>(EACCES)</code> Permission denied; the file permissions do not allow the attempted operation. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba8643f49fdab6a5ff782084c67135e1e1"></a>NAME_TOO_LONG&#160;</td><td class="fielddoc">
<p><code>(ENAMETOOLONG)</code> Filename too long. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baeda2e83b22b1f6dc1da2694f1644e564"></a>NO_SUCH_ENTITY&#160;</td><td class="fielddoc">
<p><code>(ENOENT)</code> No such file or directory. </p>
<p>This is a "file doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa4f3b9115752cd9cf52a5b59f8909991"></a>NOT_DIRECTORY&#160;</td><td class="fielddoc">
<p><code>(ENOTDIR)</code> A file that isn't a directory was specified when a directory is required. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babb6c725bc086a2d279e757457b030571"></a>NO_SUCH_DEVICE&#160;</td><td class="fielddoc">
<p><code>(ENXIO)</code> No such device or address. </p>
<p>The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badd3c96afe2ba945bb3560e16a9b93d59"></a>NOT_DEVICE&#160;</td><td class="fielddoc">
<p><code>(ENODEV)</code> This file is of a type that doesn't support mapping. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0babeea9fce53d4885b4051984276f15a8b"></a>READONLY_FILESYSTEM&#160;</td><td class="fielddoc">
<p><code>(EROFS)</code> The directory containing the new link can't be modified because it's on a read-only file system. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7e4dc1f2fd34848b7bc3000c272e1372"></a>TEXT_FILE_BUSY&#160;</td><td class="fielddoc">
<p><code>(ETXTBSY)</code> Text file busy. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badc06f883f118f4890129663191c6c17f"></a>FAULTY_ADDRESS&#160;</td><td class="fielddoc">
<p><code>(EFAULT)</code> You passed in a pointer to bad memory. </p>
<p>(<a class="el" href="namespaceGlib.html">Glib</a> won't reliably return this, don't pass in pointers to bad memory.) <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba162e633cd38eab5d522270c9a3ebcea2"></a>SYMLINK_LOOP&#160;</td><td class="fielddoc">
<p><code>(ELOOP)</code> Too many levels of symbolic links were encountered in looking up a file name. </p>
<p>This often indicates a cycle of symbolic links. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bab01ef9f764fd9b893ce8642c41e767d8"></a>NO_SPACE_LEFT&#160;</td><td class="fielddoc">
<p><code>(ENOSPC)</code> No space left on device; write operation on a file failed because the disk is full. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba370079127964629a1632d9ddb9e1675e"></a>NOT_ENOUGH_MEMORY&#160;</td><td class="fielddoc">
<p><code>(ENOMEM)</code> No memory available. </p>
<p>The system cannot allocate more virtual memory because its capacity is full. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0bae6695b16a229d85ed7fe04998ded8e69"></a>TOO_MANY_OPEN_FILES&#160;</td><td class="fielddoc">
<p><code>(EMFILE)</code> The current process has too many files open and can't open any more. </p>
<p>Duplicate descriptors do count toward this limit. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba270fd5509672b5315c89ba895cf0a03b"></a>FILE_TABLE_OVERFLOW&#160;</td><td class="fielddoc">
<p><code>(ENFILE)</code> There are too many distinct file openings in the entire system. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba4fc249f01958f2637485f137984a2ef5"></a>BAD_FILE_DESCRIPTOR&#160;</td><td class="fielddoc">
<p><code>(EBADF)</code> Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa). </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9c342ad59c861942248c7c4f9856ffa3"></a>INVALID_ARGUMENT&#160;</td><td class="fielddoc">
<p><code>(EINVAL)</code> Invalid argument. </p>
<p>This is used to indicate various kinds of problems with passing the wrong argument to a library function. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba7973f973a753e33f7334606a7b94a484"></a>BROKEN_PIPE&#160;</td><td class="fielddoc">
<p><code>(EPIPE)</code> Broken pipe; there is no process reading from the other end of a pipe. </p>
<p>Every library function that returns this error code also generates a <code>SIGPIPE</code> signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked <code>SIGPIPE</code>. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba394d8e382562d6a1d98eeb324f7bb3ef"></a>TRYAGAIN&#160;</td><td class="fielddoc">
<p><code>(EAGAIN)</code> Resource temporarily unavailable; the call might work if you try again later. </p>
<p>We used TRYAGAIN instead of TRY_AGAIN, because that is a defined as a macro by a Unix header. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0badddd41967fb43bd5299d7ca081e1fb2f"></a>INTERRUPTED&#160;</td><td class="fielddoc">
<p><code>(EINTR)</code> Interrupted function call; an asynchronous signal occurred and prevented completion of the call. </p>
<p>When this happens, you should try the call again. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba9f036a8ebefce2b3e4d6212a81391f41"></a>IO_ERROR&#160;</td><td class="fielddoc">
<p><code>(EIO)</code> Input/output error; usually used for physical read or write errors. </p>
<p>I.e. the disk or other physical device hardware is returning errors. <br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0baa10eb3f9c67a9d359927839c800e9d62"></a>NOT_OWNER&#160;</td><td class="fielddoc">
<p><code>(EPERM)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. </p>
<p><br />
<br />
 </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba35c967e08b486a0e88197f5753d2df1a"></a>NOSYS&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a0bdb855c813c7d07a424009706fc8f0ba1ff00bae55bf88a6bd4f5c70b78324b9"></a>FAILED&#160;</td><td class="fielddoc">
<p>Does not correspond to a UNIX error code; this is the standard "failed for
unspecified reason" error code present in all <a class="el" href="classGlib_1_1Error.html">Glib::Error</a> error code enumerations. </p>
<p>Returned if no specific code applies. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0acf54ad7899f15d9dba10a42e551181"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::FileError::FileError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a>&#160;</td>
          <td class="paramname"><em>error_code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&#160;</td>
          <td class="paramname"><em>error_message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adc1bae15e4393814b23e7f0743a081cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::FileError::FileError </td>
          <td>(</td>
          <td class="paramtype">GError *&#160;</td>
          <td class="paramname"><em>gobject</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a86041a573547b3b349ba0acf2bac7116"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1FileError.html#a0bdb855c813c7d07a424009706fc8f0b">Code</a> Glib::FileError::code </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Sep 22 2014 21:38:33 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>