~ubuntu-branches/ubuntu/hardy/evolution-data-server/hardy-updates

« back to all changes in this revision

Viewing changes to docs/reference/camel/html/camel-camel-exception.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-13 10:59:20 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20071113105920-nb6w14udvgx0ghi3
Tags: 2.21.2-0ubuntu1
* New upstream version:
  Bug Fixes:
  - #318842: Task lists should be sorted (LP: #23912)
  - #345135: Disable SSLv2 compatible HELLO on SSL stream when 
    SSLv2 is disabled
  - #359267: Not all memos are showed in calendar view
  - #430420: Returned size <= 0 is an error
  - #460649: Meeting UI Needs To Show Color Of Selected Calendar Source
  - #487229: Use GKeyFile instead of gnome-config to access stored passwords
  - #488156: Minimize use of the WITH_GNOME_KEYRING macro
  - #492130: ESourceSelector uses pointers to ESource
  - #494304: Fix leak
  Updated Translations
  New in 2.21.1:
  - Support for Google Calendar
  Bug Fixes:
  - #203480: (Novell Bugzilla) Compiler warning fix 
    for usage ofunintialized variable
  - #231178: New symbol 'set-label' defined and added corresponding callback
  - #271777: Keep character's case as user types
  - #417999: Don't use deprecated GTK+ symbols
  - #420167: e-d-s now exits with gnome-session
  - #469657: Better use of GHashTable
  - #474000: Use GLib's Base64 API instead of Camel's
  - #475487: When creating the default contact, print errors to the console
  - #475493: Use G_DEFINE_TYPE
  - #475494: Use G_LOCK instead of a static mutex for clearer code
  - #478404: Reset the id to zero
  - #483301: Remove an unused variable
  - #487270: Fix typo in documentation
  - #488173: Remove __FUNCTION__, which is a gcc-ism
  - #488351: Fix an addressbook error on a fresh install
  Other Contributors:
  - Protect against a NULL subject string. 
* debian/*.preinst:
  - On upgrades from Gutsy, remove the symlinks introduced in Gutsy. They
    break upgrades all over, and current cdbs just symlinks individual files.
* Sync with Debian
* debian/control:
  - evolution-data-server Breaks evolution (<< 2.9), 
    evolution-exchange (<= 2.8.1-0ubuntu1),
    evolution-jescs (<= 2.8.2-0ubuntu3), 
    evolution-scalix (<= 10.0.0.357-0ubuntu6)
  - updated maintainer to desktop team
* debian/rules:
  - don't specify the paths for nspr and nss since the package is built 
    with firefox
  - don't build documentation, it's distributed in the upstream tarball

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=US-ASCII">
5
5
<title>camel-exception</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.1">
7
7
<link rel="start" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="Fundamentals.html" title="Fundamentals">
9
9
<link rel="prev" href="Fundamentals.html" title="Fundamentals">
10
10
<link rel="next" href="camel-CamelObject.html" title="CamelObject">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="classes.html" title="Part&#160;I.&#160;Camel Classes">
14
14
<link rel="chapter" href="ClassTree.html" title="Class hierarchy">
31
31
<th width="100%" align="center">Camel Reference Manual</th>
32
32
<td><a accesskey="n" href="camel-CamelObject.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
33
</tr>
34
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2503262" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2531904" class="shortcut">Top</a>
35
35
                  &#160;|&#160;
36
 
                  <a href="#id2548996" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2577507" class="shortcut">Description</a></nobr></td></tr>
37
37
</table>
38
38
<div class="refentry" lang="en">
39
39
<a name="camel-camel-exception"></a><div class="titlepage"></div>
40
40
<div class="refnamediv"><table width="100%"><tr>
41
41
<td valign="top">
42
42
<h2>
43
 
<a name="id2503262"></a><span class="refentrytitle">camel-exception</span>
 
43
<a name="id2531904"></a><span class="refentrytitle">camel-exception</span>
44
44
</h2>
45
45
<p>camel-exception</p>
46
46
</td>
52
52
 
53
53
 
54
54
 
55
 
enum                <a href="camel-camel-exception.html#ExceptionId">ExceptionId</a>;
56
 
struct              <a href="camel-camel-exception.html#CamelException">CamelException</a>;
57
 
#define             <a href="camel-camel-exception.html#CAMEL-EXCEPTION-INITIALISER:CAPS">CAMEL_EXCEPTION_INITIALISER</a>
58
 
<a href="camel-camel-exception.html#CamelException">CamelException</a>*     <a href="camel-camel-exception.html#camel-exception-new">camel_exception_new</a>                 (void);
59
 
void                <a href="camel-camel-exception.html#camel-exception-free">camel_exception_free</a>                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
60
 
void                <a href="camel-camel-exception.html#camel-exception-init">camel_exception_init</a>                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
61
 
void                <a href="camel-camel-exception.html#camel-exception-clear">camel_exception_clear</a>               (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
62
 
void                <a href="camel-camel-exception.html#camel-exception-set">camel_exception_set</a>                 (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
63
 
                                                         <a href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
 
55
enum                <a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a>;
 
56
struct              <a class="link" href="camel-camel-exception.html#CamelException">CamelException</a>;
 
57
#define             <a class="link" href="camel-camel-exception.html#CAMEL-EXCEPTION-INITIALISER:CAPS">CAMEL_EXCEPTION_INITIALISER</a>
 
58
<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a>*     <a class="link" href="camel-camel-exception.html#camel-exception-new">camel_exception_new</a>                 (void);
 
59
void                <a class="link" href="camel-camel-exception.html#camel-exception-free">camel_exception_free</a>                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
 
60
void                <a class="link" href="camel-camel-exception.html#camel-exception-init">camel_exception_init</a>                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
 
61
void                <a class="link" href="camel-camel-exception.html#camel-exception-clear">camel_exception_clear</a>               (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
 
62
void                <a class="link" href="camel-camel-exception.html#camel-exception-set">camel_exception_set</a>                 (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
 
63
                                                         <a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
64
64
                                                         const char *desc);
65
 
void                <a href="camel-camel-exception.html#camel-exception-setv">camel_exception_setv</a>                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
66
 
                                                         <a href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
 
65
void                <a class="link" href="camel-camel-exception.html#camel-exception-setv">camel_exception_setv</a>                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
 
66
                                                         <a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
67
67
                                                         const char *format,
68
68
                                                         ...);
69
 
void                <a href="camel-camel-exception.html#camel-exception-xfer">camel_exception_xfer</a>                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex_dst,
70
 
                                                         <a href="camel-camel-exception.html#CamelException">CamelException</a> *ex_src);
71
 
<a href="camel-camel-exception.html#ExceptionId">ExceptionId</a>         <a href="camel-camel-exception.html#camel-exception-get-id">camel_exception_get_id</a>              (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
72
 
const char*         <a href="camel-camel-exception.html#camel-exception-get-description">camel_exception_get_description</a>     (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
73
 
#define             <a href="camel-camel-exception.html#camel-exception-is-set">camel_exception_is_set</a>              (ex)
 
69
void                <a class="link" href="camel-camel-exception.html#camel-exception-xfer">camel_exception_xfer</a>                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex_dst,
 
70
                                                         <a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex_src);
 
71
<a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a>         <a class="link" href="camel-camel-exception.html#camel-exception-get-id">camel_exception_get_id</a>              (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
 
72
const char*         <a class="link" href="camel-camel-exception.html#camel-exception-get-description">camel_exception_get_description</a>     (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);
 
73
#define             <a class="link" href="camel-camel-exception.html#camel-exception-is-set">camel_exception_is_set</a>              (ex)
74
74
</pre>
75
75
</div>
76
76
<div class="refsect1" lang="en">
77
 
<a name="id2548996"></a><h2>Description</h2>
 
77
<a name="id2577507"></a><h2>Description</h2>
78
78
<p>
79
79
 
80
80
</p>
81
81
</div>
82
82
<div class="refsect1" lang="en">
83
 
<a name="id2549011"></a><h2>Details</h2>
 
83
<a name="id2577521"></a><h2>Details</h2>
84
84
<div class="refsect2" lang="en">
85
 
<a name="id2549021"></a><h3>
 
85
<a name="id2577532"></a><h3>
86
86
<a name="ExceptionId"></a>enum ExceptionId</h3>
87
 
<a class="indexterm" name="id2549033"></a><pre class="programlisting">typedef enum {
 
87
<a class="indexterm" name="id2577544"></a><pre class="programlisting">typedef enum {
88
88
#include "camel-exception-list.def"
89
89
 
90
90
} ExceptionId;
95
95
</div>
96
96
<hr>
97
97
<div class="refsect2" lang="en">
98
 
<a name="id2549049"></a><h3>
 
98
<a name="id2577560"></a><h3>
99
99
<a name="CamelException"></a>struct CamelException</h3>
100
 
<a class="indexterm" name="id2549062"></a><pre class="programlisting">struct CamelException {
 
100
<a class="indexterm" name="id2577572"></a><pre class="programlisting">struct CamelException {
101
101
        /* do not access the fields directly */
102
102
        ExceptionId id;
103
103
        char *desc;
109
109
</div>
110
110
<hr>
111
111
<div class="refsect2" lang="en">
112
 
<a name="id2549078"></a><h3>
 
112
<a name="id2577588"></a><h3>
113
113
<a name="CAMEL-EXCEPTION-INITIALISER:CAPS"></a>CAMEL_EXCEPTION_INITIALISER</h3>
114
 
<a class="indexterm" name="id2549091"></a><pre class="programlisting">#define CAMEL_EXCEPTION_INITIALISER { 0, NULL }
 
114
<a class="indexterm" name="id2577602"></a><pre class="programlisting">#define CAMEL_EXCEPTION_INITIALISER { 0, NULL }
115
115
</pre>
116
116
<p>
117
117
 
119
119
</div>
120
120
<hr>
121
121
<div class="refsect2" lang="en">
122
 
<a name="id2549107"></a><h3>
 
122
<a name="id2577618"></a><h3>
123
123
<a name="camel-exception-new"></a>camel_exception_new ()</h3>
124
 
<a class="indexterm" name="id2549120"></a><pre class="programlisting"><a href="camel-camel-exception.html#CamelException">CamelException</a>*     camel_exception_new                 (void);</pre>
 
124
<a class="indexterm" name="id2577631"></a><pre class="programlisting"><a class="link" href="camel-camel-exception.html#CamelException">CamelException</a>*     camel_exception_new                 (void);</pre>
125
125
<p>
126
126
Create and returns a new exception object.</p>
127
127
<p>
130
130
<div class="variablelist"><table border="0">
131
131
<col align="left" valign="top">
132
132
<tbody><tr>
133
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
133
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
134
134
<td>the newly allocated exception object
135
135
</td>
136
136
</tr></tbody>
138
138
</div>
139
139
<hr>
140
140
<div class="refsect2" lang="en">
141
 
<a name="id2549157"></a><h3>
 
141
<a name="id2577668"></a><h3>
142
142
<a name="camel-exception-free"></a>camel_exception_free ()</h3>
143
 
<a class="indexterm" name="id2549173"></a><pre class="programlisting">void                camel_exception_free                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
 
143
<a class="indexterm" name="id2577684"></a><pre class="programlisting">void                camel_exception_free                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
144
144
<p>
145
 
Free an exception object. If the exception is <a
146
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
147
 
><code class="literal">NULL</code></a>, nothing is
 
145
Free an exception object. If the exception is <code class="literal">NULL</code>, nothing is
148
146
done, the routine simply returns.</p>
149
147
<p>
150
148
 
152
150
<div class="variablelist"><table border="0">
153
151
<col align="left" valign="top">
154
152
<tbody><tr>
155
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
156
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
153
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
154
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
157
155
</td>
158
156
</tr></tbody>
159
157
</table></div>
160
158
</div>
161
159
<hr>
162
160
<div class="refsect2" lang="en">
163
 
<a name="id2549247"></a><h3>
 
161
<a name="id2577757"></a><h3>
164
162
<a name="camel-exception-init"></a>camel_exception_init ()</h3>
165
 
<a class="indexterm" name="id2549260"></a><pre class="programlisting">void                camel_exception_init                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
 
163
<a class="indexterm" name="id2577770"></a><pre class="programlisting">void                camel_exception_init                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
166
164
<p>
167
165
Init an exception. This routine is mainly useful when using a
168
166
statically allocated exception.</p>
172
170
<div class="variablelist"><table border="0">
173
171
<col align="left" valign="top">
174
172
<tbody><tr>
175
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
176
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
173
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
174
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
177
175
</td>
178
176
</tr></tbody>
179
177
</table></div>
180
178
</div>
181
179
<hr>
182
180
<div class="refsect2" lang="en">
183
 
<a name="id2549319"></a><h3>
 
181
<a name="id2577829"></a><h3>
184
182
<a name="camel-exception-clear"></a>camel_exception_clear ()</h3>
185
 
<a class="indexterm" name="id2549332"></a><pre class="programlisting">void                camel_exception_clear               (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
 
183
<a class="indexterm" name="id2577842"></a><pre class="programlisting">void                camel_exception_clear               (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
186
184
<p>
187
185
Clear an exception, that is, set the exception ID to
188
186
<span class="type">CAMEL_EXCEPTION_NONE</span> and free the description text.  If the
189
 
exception is <a
190
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
191
 
><code class="literal">NULL</code></a>, this funtion just returns.</p>
 
187
exception is <code class="literal">NULL</code>, this funtion just returns.</p>
192
188
<p>
193
189
 
194
190
</p>
195
191
<div class="variablelist"><table border="0">
196
192
<col align="left" valign="top">
197
193
<tbody><tr>
198
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
199
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
194
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
195
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
200
196
</td>
201
197
</tr></tbody>
202
198
</table></div>
203
199
</div>
204
200
<hr>
205
201
<div class="refsect2" lang="en">
206
 
<a name="id2549412"></a><h3>
 
202
<a name="id2577922"></a><h3>
207
203
<a name="camel-exception-set"></a>camel_exception_set ()</h3>
208
 
<a class="indexterm" name="id2549425"></a><pre class="programlisting">void                camel_exception_set                 (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
209
 
                                                         <a href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
 
204
<a class="indexterm" name="id2577935"></a><pre class="programlisting">void                camel_exception_set                 (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
 
205
                                                         <a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
210
206
                                                         const char *desc);</pre>
211
207
<p>
212
208
Set the value of an exception. The exception id is 
215
211
what happened and provoked the exception.
216
212
</p>
217
213
<p>
218
 
When <em class="parameter"><code>ex</code></em> is <a
219
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
220
 
><code class="literal">NULL</code></a>, nothing is done, this routine
 
214
When <em class="parameter"><code>ex</code></em> is <code class="literal">NULL</code>, nothing is done, this routine
221
215
simply returns.</p>
222
216
<p>
223
217
 
226
220
<col align="left" valign="top">
227
221
<tbody>
228
222
<tr>
229
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
230
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
223
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
224
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
231
225
</td>
232
226
</tr>
233
227
<tr>
234
 
<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 
228
<td><p><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></p></td>
235
229
<td> exception id 
236
230
</td>
237
231
</tr>
238
232
<tr>
239
 
<td><span class="term"><em class="parameter"><code>desc</code></em>&#160;:</span></td>
 
233
<td><p><span class="term"><em class="parameter"><code>desc</code></em>&#160;:</span></p></td>
240
234
<td> textual description of the exception
241
235
</td>
242
236
</tr>
245
239
</div>
246
240
<hr>
247
241
<div class="refsect2" lang="en">
248
 
<a name="id2549548"></a><h3>
 
242
<a name="id2578059"></a><h3>
249
243
<a name="camel-exception-setv"></a>camel_exception_setv ()</h3>
250
 
<a class="indexterm" name="id2549561"></a><pre class="programlisting">void                camel_exception_setv                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
251
 
                                                         <a href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
 
244
<a class="indexterm" name="id2578072"></a><pre class="programlisting">void                camel_exception_setv                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex,
 
245
                                                         <a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a> id,
252
246
                                                         const char *format,
253
247
                                                         ...);</pre>
254
248
<p>
264
258
  camel_exception_setv (ex, ..., camel_exception_get_description (ex), ...);
265
259
</p>
266
260
<p>
267
 
When <em class="parameter"><code>ex</code></em> is <a
268
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
269
 
><code class="literal">NULL</code></a>, nothing is done, this routine
 
261
When <em class="parameter"><code>ex</code></em> is <code class="literal">NULL</code>, nothing is done, this routine
270
262
simply returns.</p>
271
263
<p>
272
264
 
275
267
<col align="left" valign="top">
276
268
<tbody>
277
269
<tr>
278
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
279
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
270
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
271
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
280
272
</td>
281
273
</tr>
282
274
<tr>
283
 
<td><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
 
275
<td><p><span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></p></td>
284
276
<td> exception id 
285
277
</td>
286
278
</tr>
287
279
<tr>
288
 
<td><span class="term"><em class="parameter"><code>format</code></em>&#160;:</span></td>
 
280
<td><p><span class="term"><em class="parameter"><code>format</code></em>&#160;:</span></p></td>
289
281
<td> format of the description string. The format string is
290
282
used as in <code class="function">printf()</code>.
291
283
</td>
292
284
</tr>
293
285
<tr>
294
 
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
 
286
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
295
287
<td>
296
288
 
297
289
 
302
294
</div>
303
295
<hr>
304
296
<div class="refsect2" lang="en">
305
 
<a name="id2549718"></a><h3>
 
297
<a name="id2578229"></a><h3>
306
298
<a name="camel-exception-xfer"></a>camel_exception_xfer ()</h3>
307
 
<a class="indexterm" name="id2549731"></a><pre class="programlisting">void                camel_exception_xfer                (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex_dst,
308
 
                                                         <a href="camel-camel-exception.html#CamelException">CamelException</a> *ex_src);</pre>
 
299
<a class="indexterm" name="id2578242"></a><pre class="programlisting">void                camel_exception_xfer                (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex_dst,
 
300
                                                         <a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex_src);</pre>
309
301
<p>
310
302
Transfer the content of an exception from an exception object to
311
303
another.  The destination exception receives the id and the
317
309
<col align="left" valign="top">
318
310
<tbody>
319
311
<tr>
320
 
<td><span class="term"><em class="parameter"><code>ex_dst</code></em>&#160;:</span></td>
 
312
<td><p><span class="term"><em class="parameter"><code>ex_dst</code></em>&#160;:</span></p></td>
321
313
<td> Destination exception object 
322
314
</td>
323
315
</tr>
324
316
<tr>
325
 
<td><span class="term"><em class="parameter"><code>ex_src</code></em>&#160;:</span></td>
 
317
<td><p><span class="term"><em class="parameter"><code>ex_src</code></em>&#160;:</span></p></td>
326
318
<td> Source exception object
327
319
</td>
328
320
</tr>
331
323
</div>
332
324
<hr>
333
325
<div class="refsect2" lang="en">
334
 
<a name="id2549807"></a><h3>
 
326
<a name="id2578317"></a><h3>
335
327
<a name="camel-exception-get-id"></a>camel_exception_get_id ()</h3>
336
 
<a class="indexterm" name="id2549820"></a><pre class="programlisting"><a href="camel-camel-exception.html#ExceptionId">ExceptionId</a>         camel_exception_get_id              (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
 
328
<a class="indexterm" name="id2578331"></a><pre class="programlisting"><a class="link" href="camel-camel-exception.html#ExceptionId">ExceptionId</a>         camel_exception_get_id              (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
337
329
<p>
338
330
Get the id of an exception.</p>
339
331
<p>
343
335
<col align="left" valign="top">
344
336
<tbody>
345
337
<tr>
346
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
347
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
338
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
339
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
348
340
</td>
349
341
</tr>
350
342
<tr>
351
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
343
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
352
344
<td>the exception id (<span class="type">CAMEL_EXCEPTION_NONE</span> will be returned if
353
 
<em class="parameter"><code>ex</code></em> is <a
354
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
355
 
><code class="literal">NULL</code></a> or unset)
 
345
<em class="parameter"><code>ex</code></em> is <code class="literal">NULL</code> or unset)
356
346
</td>
357
347
</tr>
358
348
</tbody>
360
350
</div>
361
351
<hr>
362
352
<div class="refsect2" lang="en">
363
 
<a name="id2549914"></a><h3>
 
353
<a name="id2578424"></a><h3>
364
354
<a name="camel-exception-get-description"></a>camel_exception_get_description ()</h3>
365
 
<a class="indexterm" name="id2549927"></a><pre class="programlisting">const char*         camel_exception_get_description     (<a href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
 
355
<a class="indexterm" name="id2578438"></a><pre class="programlisting">const char*         camel_exception_get_description     (<a class="link" href="camel-camel-exception.html#CamelException">CamelException</a> *ex);</pre>
366
356
<p>
367
357
Get the exception description text.</p>
368
358
<p>
372
362
<col align="left" valign="top">
373
363
<tbody>
374
364
<tr>
375
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
376
 
<td> a <a href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
 
365
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
 
366
<td> a <a class="link" href="camel-camel-exception.html#CamelException"><span class="type">CamelException</span></a>
377
367
</td>
378
368
</tr>
379
369
<tr>
380
 
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
381
 
<td>the exception description text (<a
382
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
383
 
><code class="literal">NULL</code></a> will be returned if
384
 
<em class="parameter"><code>ex</code></em> is <a
385
 
href="/opt/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
386
 
><code class="literal">NULL</code></a> or unset)
 
370
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
371
<td>the exception description text (<code class="literal">NULL</code> will be returned if
 
372
<em class="parameter"><code>ex</code></em> is <code class="literal">NULL</code> or unset)
387
373
</td>
388
374
</tr>
389
375
</tbody>
391
377
</div>
392
378
<hr>
393
379
<div class="refsect2" lang="en">
394
 
<a name="id2550023"></a><h3>
 
380
<a name="id2578534"></a><h3>
395
381
<a name="camel-exception-is-set"></a>camel_exception_is_set()</h3>
396
 
<a class="indexterm" name="id2550036"></a><pre class="programlisting">#define camel_exception_is_set(ex) (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE)
 
382
<a class="indexterm" name="id2578547"></a><pre class="programlisting">#define camel_exception_is_set(ex) (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE)
397
383
</pre>
398
384
<p>
399
385
 
401
387
<div class="variablelist"><table border="0">
402
388
<col align="left" valign="top">
403
389
<tbody><tr>
404
 
<td><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></td>
 
390
<td><p><span class="term"><em class="parameter"><code>ex</code></em>&#160;:</span></p></td>
405
391
<td>
406
392
 
407
393
 
411
397
</div>
412
398
</div>
413
399
<div class="refsect1" lang="en">
414
 
<a name="id2550071"></a><div class="refsect2" lang="en"><a name="id2550072"></a></div>
 
400
<a name="id2578582"></a><div class="refsect2" lang="en"><a name="id2578583"></a></div>
415
401
<hr>
416
 
<div class="refsect2" lang="en"><a name="id2550073"></a></div>
 
402
<div class="refsect2" lang="en"><a name="id2578584"></a></div>
417
403
</div>
418
404
</div>
419
405
</body>