~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-exception.html

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2009-09-26 01:14:29 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (3.1.5 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090926011429-0yhx3o44d8xve7kw
Tags: upstream-2.24.2
Import upstream version 2.24.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>bonobo-exception</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="Libbonobo Reference Manual">
8
8
<link rel="up" href="general.html" title="General">
9
9
<link rel="prev" href="libbonobo-bonobo-context.html" title="bonobo-context">
34
34
                <a href="#libbonobo-bonobo-exception.description" class="shortcut">Description</a>
35
35
</td></tr>
36
36
</table>
37
 
<div class="refentry" lang="en">
 
37
<div class="refentry" title="bonobo-exception">
38
38
<a name="libbonobo-bonobo-exception"></a><div class="titlepage"></div>
39
39
<div class="refnamediv"><table width="100%"><tr>
40
40
<td valign="top">
43
43
</td>
44
44
<td valign="top" align="right"></td>
45
45
</tr></table></div>
46
 
<div class="refsynopsisdiv">
 
46
<div class="refsynopsisdiv" title="Synopsis">
47
47
<a name="libbonobo-bonobo-exception.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis">
49
49
#define             <a class="link" href="libbonobo-bonobo-exception.html#bonobo-exception-set" title="bonobo_exception_set()">bonobo_exception_set</a>                (opt_ev,repo_id)
77
77
const char *        <a class="link" href="libbonobo-bonobo-exception.html#bonobo-exception-general-error-get" title="bonobo_exception_general_error_get ()">bonobo_exception_general_error_get</a>  (CORBA_Environment *ev);
78
78
</pre>
79
79
</div>
80
 
<div class="refsect1" lang="en">
 
80
<div class="refsect1" title="Description">
81
81
<a name="libbonobo-bonobo-exception.description"></a><h2>Description</h2>
82
82
<p>
83
83
This module contains some useful helper functions
91
91
is used thus:
92
92
  </p>
93
93
<div class="example">
94
 
<a name="id2981278"></a><p class="title"><b>Example 4. Bonobo exception trapping and reporting</b></p>
 
94
<a name="id2952982"></a><p class="title"><b>Example 4. Bonobo exception trapping and reporting</b></p>
95
95
<div class="example-contents"><pre class="programlisting">
96
96
int
97
97
do_something (CORBA_Environment *ev)
116
116
<p><br class="example-break">
117
117
</p>
118
118
</div>
119
 
<div class="refsect1" lang="en">
 
119
<div class="refsect1" title="Details">
120
120
<a name="libbonobo-bonobo-exception.details"></a><h2>Details</h2>
121
 
<div class="refsect2" lang="en">
 
121
<div class="refsect2" title="bonobo_exception_set()">
122
122
<a name="bonobo-exception-set"></a><h3>bonobo_exception_set()</h3>
123
123
<pre class="programlisting">#define             bonobo_exception_set(opt_ev,repo_id)</pre>
124
124
<p>
142
142
</table></div>
143
143
</div>
144
144
<hr>
145
 
<div class="refsect2" lang="en">
 
145
<div class="refsect2" title="bonobo_return_if_fail()">
146
146
<a name="bonobo-return-if-fail"></a><h3>bonobo_return_if_fail()</h3>
147
147
<pre class="programlisting">#define             bonobo_return_if_fail(expr,opt_ev)</pre>
148
148
<p>
167
167
</table></div>
168
168
</div>
169
169
<hr>
170
 
<div class="refsect2" lang="en">
 
170
<div class="refsect2" title="bonobo_return_val_if_fail()">
171
171
<a name="bonobo-return-val-if-fail"></a><h3>bonobo_return_val_if_fail()</h3>
172
172
<pre class="programlisting">#define             bonobo_return_val_if_fail(expr,val,opt_ev)</pre>
173
173
<p>
197
197
</table></div>
198
198
</div>
199
199
<hr>
200
 
<div class="refsect2" lang="en">
 
200
<div class="refsect2" title="BONOBO_EX()">
201
201
<a name="BONOBO-EX--CAPS"></a><h3>BONOBO_EX()</h3>
202
202
<pre class="programlisting">#define BONOBO_EX(ev)         ((ev) != NULL &amp;&amp; (ev)-&gt;_major != CORBA_NO_EXCEPTION)
203
203
</pre>
214
214
</table></div>
215
215
</div>
216
216
<hr>
217
 
<div class="refsect2" lang="en">
 
217
<div class="refsect2" title="BONOBO_USER_EX()">
218
218
<a name="BONOBO-USER-EX--CAPS"></a><h3>BONOBO_USER_EX()</h3>
219
219
<pre class="programlisting">#define             BONOBO_USER_EX(ev,id)</pre>
220
220
<p>
238
238
</table></div>
239
239
</div>
240
240
<hr>
241
 
<div class="refsect2" lang="en">
 
241
<div class="refsect2" title="BONOBO_EX_REPOID()">
242
242
<a name="BONOBO-EX-REPOID--CAPS"></a><h3>BONOBO_EX_REPOID()</h3>
243
243
<pre class="programlisting">#define BONOBO_EX_REPOID(ev)  (ev)-&gt;_id
244
244
</pre>
255
255
</table></div>
256
256
</div>
257
257
<hr>
258
 
<div class="refsect2" lang="en">
 
258
<div class="refsect2" title="BONOBO_RET_EX()">
259
259
<a name="BONOBO-RET-EX--CAPS"></a><h3>BONOBO_RET_EX()</h3>
260
260
<pre class="programlisting">#define             BONOBO_RET_EX(ev)</pre>
261
261
<p>
271
271
</table></div>
272
272
</div>
273
273
<hr>
274
 
<div class="refsect2" lang="en">
 
274
<div class="refsect2" title="BONOBO_RET_VAL_EX()">
275
275
<a name="BONOBO-RET-VAL-EX--CAPS"></a><h3>BONOBO_RET_VAL_EX()</h3>
276
276
<pre class="programlisting">#define             BONOBO_RET_VAL_EX(ev,v)</pre>
277
277
<p>
294
294
</table></div>
295
295
</div>
296
296
<hr>
297
 
<div class="refsect2" lang="en">
 
297
<div class="refsect2" title="BonoboExceptionFn ()">
298
298
<a name="BonoboExceptionFn"></a><h3>BonoboExceptionFn ()</h3>
299
299
<pre class="programlisting">char *              (*BonoboExceptionFn)                (CORBA_Environment *ev,
300
300
                                                         <a
325
325
</table></div>
326
326
</div>
327
327
<hr>
328
 
<div class="refsect2" lang="en">
 
328
<div class="refsect2" title="bonobo_exception_get_text ()">
329
329
<a name="bonobo-exception-get-text"></a><h3>bonobo_exception_get_text ()</h3>
330
330
<pre class="programlisting">char *              bonobo_exception_get_text           (CORBA_Environment *ev);</pre>
331
331
<p>
353
353
</table></div>
354
354
</div>
355
355
<hr>
356
 
<div class="refsect2" lang="en">
 
356
<div class="refsect2" title="bonobo_exception_repoid_to_text ()">
357
357
<a name="bonobo-exception-repoid-to-text"></a><h3>bonobo_exception_repoid_to_text ()</h3>
358
358
<pre class="programlisting">char *              bonobo_exception_repoid_to_text     (const char *repo_id);</pre>
359
359
<p>
378
378
</table></div>
379
379
</div>
380
380
<hr>
381
 
<div class="refsect2" lang="en">
 
381
<div class="refsect2" title="bonobo_exception_add_handler_str ()">
382
382
<a name="bonobo-exception-add-handler-str"></a><h3>bonobo_exception_add_handler_str ()</h3>
383
383
<pre class="programlisting">void                bonobo_exception_add_handler_str    (const char *repo_id,
384
384
                                                         const char *str);</pre>
406
406
</table></div>
407
407
</div>
408
408
<hr>
409
 
<div class="refsect2" lang="en">
 
409
<div class="refsect2" title="bonobo_exception_add_handler_fn ()">
410
410
<a name="bonobo-exception-add-handler-fn"></a><h3>bonobo_exception_add_handler_fn ()</h3>
411
411
<pre class="programlisting">void                bonobo_exception_add_handler_fn     (const char *repo_id,
412
412
                                                         <a class="link" href="libbonobo-bonobo-exception.html#BonoboExceptionFn" title="BonoboExceptionFn ()">BonoboExceptionFn</a> fn,
452
452
</table></div>
453
453
</div>
454
454
<hr>
455
 
<div class="refsect2" lang="en">
 
455
<div class="refsect2" title="bonobo_exception_general_error_set ()">
456
456
<a name="bonobo-exception-general-error-set"></a><h3>bonobo_exception_general_error_set ()</h3>
457
457
<pre class="programlisting">void                bonobo_exception_general_error_set  (CORBA_Environment *ev,
458
458
                                                         CORBA_TypeCode opt_deriv,
487
487
</table></div>
488
488
</div>
489
489
<hr>
490
 
<div class="refsect2" lang="en">
 
490
<div class="refsect2" title="bonobo_exception_general_error_get ()">
491
491
<a name="bonobo-exception-general-error-get"></a><h3>bonobo_exception_general_error_get ()</h3>
492
492
<pre class="programlisting">const char *        bonobo_exception_general_error_get  (CORBA_Environment *ev);</pre>
493
493
<p>