Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_error_hierarchy.h
1 /*
2  * Copyright 1999-2014 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18 #ifndef GLOBUS_ERROR_HIERARCHY_H
19 #define GLOBUS_ERROR_HIERARCHY_H
20 
21 
22 #include "globus_common_include.h"
23 #include "globus_object.h"
24 #include "globus_error.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /* the following code all generated by running the script
31  * ./globus_error_hierarchy.h.sh declarations < globus_error_hierarchy.idl
32  */
33 
34 extern const globus_object_type_t
35  GLOBUS_ERROR_TYPE_NO_AUTHENTICATION_DEFINITION;
36 
37 #define GLOBUS_ERROR_TYPE_NO_AUTHENTICATION \
38  (&GLOBUS_ERROR_TYPE_NO_AUTHENTICATION_DEFINITION)
39 
40 /* allocate and initialize an error of type
41  * GLOBUS_ERROR_TYPE_NO_AUTHENTICATION */
42 extern globus_object_t *
43 globus_error_construct_no_authentication (
44  globus_module_descriptor_t * base_source,
45  globus_object_t * base_cause);
46 
47 /* initialize and return an error of type
48  * GLOBUS_ERROR_TYPE_NO_AUTHENTICATION */
49 extern globus_object_t *
50 globus_error_initialize_no_authentication (
51  globus_object_t * error,
52  globus_module_descriptor_t * base_source,
53  globus_object_t * base_cause);
54 
55 
56 extern const globus_object_type_t
57  GLOBUS_ERROR_TYPE_NO_CREDENTIALS_DEFINITION;
58 
59 #define GLOBUS_ERROR_TYPE_NO_CREDENTIALS \
60  (&GLOBUS_ERROR_TYPE_NO_CREDENTIALS_DEFINITION)
61 
62 /* allocate and initialize an error of type
63  * GLOBUS_ERROR_TYPE_NO_CREDENTIALS */
64 extern globus_object_t *
65 globus_error_construct_no_credentials (
66  globus_module_descriptor_t * base_source,
67  globus_object_t * base_cause,
68  globus_object_t * no_credentials_file);
69 
70 /* initialize and return an error of type
71  * GLOBUS_ERROR_TYPE_NO_CREDENTIALS */
72 extern globus_object_t *
73 globus_error_initialize_no_credentials (
74  globus_object_t * error,
75  globus_module_descriptor_t * base_source,
76  globus_object_t * base_cause,
77  globus_object_t * no_credentials_file);
78 
79 /* return the no_credentials_file instance data of an error
80  * derived from GLOBUS_ERROR_TYPE_NO_CREDENTIALS */
81 extern globus_object_t *
82 globus_error_no_credentials_get_no_credentials_file (globus_object_t * error)
83 ;
84 
85 /* set the no_credentials_file instance data of an error
86  * derived from GLOBUS_ERROR_TYPE_NO_CREDENTIALS */
87 extern void
88 globus_error_no_credentials_set_no_credentials_file (
89  globus_object_t * error,
90  globus_object_t * value)
91 ;
92 
93 
94 extern const globus_object_type_t
95  GLOBUS_ERROR_TYPE_NO_TRUST_DEFINITION;
96 
97 #define GLOBUS_ERROR_TYPE_NO_TRUST \
98  (&GLOBUS_ERROR_TYPE_NO_TRUST_DEFINITION)
99 
100 /* allocate and initialize an error of type
101  * GLOBUS_ERROR_TYPE_NO_TRUST */
102 extern globus_object_t *
103 globus_error_construct_no_trust (
104  globus_module_descriptor_t * base_source,
105  globus_object_t * base_cause,
106  globus_object_t * no_trust_truster,
107  globus_object_t * no_trust_trustee);
108 
109 /* initialize and return an error of type
110  * GLOBUS_ERROR_TYPE_NO_TRUST */
111 extern globus_object_t *
112 globus_error_initialize_no_trust (
113  globus_object_t * error,
114  globus_module_descriptor_t * base_source,
115  globus_object_t * base_cause,
116  globus_object_t * no_trust_truster,
117  globus_object_t * no_trust_trustee);
118 
119 /* return the no_trust_truster instance data of an error
120  * derived from GLOBUS_ERROR_TYPE_NO_TRUST */
121 extern globus_object_t *
122 globus_error_no_trust_get_no_trust_truster (globus_object_t * error)
123 ;
124 
125 /* set the no_trust_truster instance data of an error
126  * derived from GLOBUS_ERROR_TYPE_NO_TRUST */
127 extern void
128 globus_error_no_trust_set_no_trust_truster (
129  globus_object_t * error,
130  globus_object_t * value)
131 ;
132 
133 /* return the no_trust_trustee instance data of an error
134  * derived from GLOBUS_ERROR_TYPE_NO_TRUST */
135 extern globus_object_t *
136 globus_error_no_trust_get_no_trust_trustee (globus_object_t * error)
137 ;
138 
139 /* set the no_trust_trustee instance data of an error
140  * derived from GLOBUS_ERROR_TYPE_NO_TRUST */
141 extern void
142 globus_error_no_trust_set_no_trust_trustee (
143  globus_object_t * error,
144  globus_object_t * value)
145 ;
146 
147 
148 extern const globus_object_type_t
149  GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS_DEFINITION;
150 
151 #define GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS \
152  (&GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS_DEFINITION)
153 
154 /* allocate and initialize an error of type
155  * GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
156 extern globus_object_t *
157 globus_error_construct_invalid_credentials (
158  globus_module_descriptor_t * base_source,
159  globus_object_t * base_cause,
160  globus_object_t * invalid_credentials_start_time,
161  globus_object_t * invalid_credentials_end_time,
162  globus_object_t * invalid_credentials_attempt_time);
163 
164 /* initialize and return an error of type
165  * GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
166 extern globus_object_t *
167 globus_error_initialize_invalid_credentials (
168  globus_object_t * error,
169  globus_module_descriptor_t * base_source,
170  globus_object_t * base_cause,
171  globus_object_t * invalid_credentials_start_time,
172  globus_object_t * invalid_credentials_end_time,
173  globus_object_t * invalid_credentials_attempt_time);
174 
175 /* return the invalid_credentials_start_time instance data of an error
176  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
177 extern globus_object_t *
178 globus_error_invalid_credentials_get_invalid_credentials_start_time (globus_object_t * error)
179 ;
180 
181 /* set the invalid_credentials_start_time instance data of an error
182  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
183 extern void
184 globus_error_invalid_credentials_set_invalid_credentials_start_time (
185  globus_object_t * error,
186  globus_object_t * value)
187 ;
188 
189 /* return the invalid_credentials_end_time instance data of an error
190  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
191 extern globus_object_t *
192 globus_error_invalid_credentials_get_invalid_credentials_end_time (globus_object_t * error)
193 ;
194 
195 /* set the invalid_credentials_end_time instance data of an error
196  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
197 extern void
198 globus_error_invalid_credentials_set_invalid_credentials_end_time (
199  globus_object_t * error,
200  globus_object_t * value)
201 ;
202 
203 /* return the invalid_credentials_attempt_time instance data of an error
204  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
205 extern globus_object_t *
206 globus_error_invalid_credentials_get_invalid_credentials_attempt_time (globus_object_t * error)
207 ;
208 
209 /* set the invalid_credentials_attempt_time instance data of an error
210  * derived from GLOBUS_ERROR_TYPE_INVALID_CREDENTIALS */
211 extern void
212 globus_error_invalid_credentials_set_invalid_credentials_attempt_time (
213  globus_object_t * error,
214  globus_object_t * value)
215 ;
216 
217 
218 extern const globus_object_type_t
219  GLOBUS_ERROR_TYPE_ACCESS_FAILED_DEFINITION;
220 
221 #define GLOBUS_ERROR_TYPE_ACCESS_FAILED \
222  (&GLOBUS_ERROR_TYPE_ACCESS_FAILED_DEFINITION)
223 
224 /* allocate and initialize an error of type
225  * GLOBUS_ERROR_TYPE_ACCESS_FAILED */
226 extern globus_object_t *
227 globus_error_construct_access_failed (
228  globus_module_descriptor_t * base_source,
229  globus_object_t * base_cause,
230  globus_object_t * access_failed_resource,
231  globus_object_t * access_failed_operation);
232 
233 /* initialize and return an error of type
234  * GLOBUS_ERROR_TYPE_ACCESS_FAILED */
235 extern globus_object_t *
236 globus_error_initialize_access_failed (
237  globus_object_t * error,
238  globus_module_descriptor_t * base_source,
239  globus_object_t * base_cause,
240  globus_object_t * access_failed_resource,
241  globus_object_t * access_failed_operation);
242 
243 /* return the access_failed_resource instance data of an error
244  * derived from GLOBUS_ERROR_TYPE_ACCESS_FAILED */
245 extern globus_object_t *
246 globus_error_access_failed_get_access_failed_resource (globus_object_t * error)
247 ;
248 
249 /* set the access_failed_resource instance data of an error
250  * derived from GLOBUS_ERROR_TYPE_ACCESS_FAILED */
251 extern void
252 globus_error_access_failed_set_access_failed_resource (
253  globus_object_t * error,
254  globus_object_t * value)
255 ;
256 
257 /* return the access_failed_operation instance data of an error
258  * derived from GLOBUS_ERROR_TYPE_ACCESS_FAILED */
259 extern globus_object_t *
260 globus_error_access_failed_get_access_failed_operation (globus_object_t * error)
261 ;
262 
263 /* set the access_failed_operation instance data of an error
264  * derived from GLOBUS_ERROR_TYPE_ACCESS_FAILED */
265 extern void
266 globus_error_access_failed_set_access_failed_operation (
267  globus_object_t * error,
268  globus_object_t * value)
269 ;
270 
271 
272 extern const globus_object_type_t
273  GLOBUS_ERROR_TYPE_NO_AUTHORIZATION_DEFINITION;
274 
275 #define GLOBUS_ERROR_TYPE_NO_AUTHORIZATION \
276  (&GLOBUS_ERROR_TYPE_NO_AUTHORIZATION_DEFINITION)
277 
278 /* allocate and initialize an error of type
279  * GLOBUS_ERROR_TYPE_NO_AUTHORIZATION */
280 extern globus_object_t *
281 globus_error_construct_no_authorization (
282  globus_module_descriptor_t * base_source,
283  globus_object_t * base_cause,
284  globus_object_t * access_failed_resource,
285  globus_object_t * access_failed_operation,
286  globus_object_t * no_authorization_identity);
287 
288 /* initialize and return an error of type
289  * GLOBUS_ERROR_TYPE_NO_AUTHORIZATION */
290 extern globus_object_t *
291 globus_error_initialize_no_authorization (
292  globus_object_t * error,
293  globus_module_descriptor_t * base_source,
294  globus_object_t * base_cause,
295  globus_object_t * access_failed_resource,
296  globus_object_t * access_failed_operation,
297  globus_object_t * no_authorization_identity);
298 
299 /* return the no_authorization_identity instance data of an error
300  * derived from GLOBUS_ERROR_TYPE_NO_AUTHORIZATION */
301 extern globus_object_t *
302 globus_error_no_authorization_get_no_authorization_identity (globus_object_t * error)
303 ;
304 
305 /* set the no_authorization_identity instance data of an error
306  * derived from GLOBUS_ERROR_TYPE_NO_AUTHORIZATION */
307 extern void
308 globus_error_no_authorization_set_no_authorization_identity (
309  globus_object_t * error,
310  globus_object_t * value)
311 ;
312 
313 
314 extern const globus_object_type_t
315  GLOBUS_ERROR_TYPE_NOT_AVAILABLE_DEFINITION;
316 
317 #define GLOBUS_ERROR_TYPE_NOT_AVAILABLE \
318  (&GLOBUS_ERROR_TYPE_NOT_AVAILABLE_DEFINITION)
319 
320 /* allocate and initialize an error of type
321  * GLOBUS_ERROR_TYPE_NOT_AVAILABLE */
322 extern globus_object_t *
323 globus_error_construct_not_available (
324  globus_module_descriptor_t * base_source,
325  globus_object_t * base_cause,
326  globus_object_t * access_failed_resource,
327  globus_object_t * access_failed_operation);
328 
329 /* initialize and return an error of type
330  * GLOBUS_ERROR_TYPE_NOT_AVAILABLE */
331 extern globus_object_t *
332 globus_error_initialize_not_available (
333  globus_object_t * error,
334  globus_module_descriptor_t * base_source,
335  globus_object_t * base_cause,
336  globus_object_t * access_failed_resource,
337  globus_object_t * access_failed_operation);
338 
339 
340 extern const globus_object_type_t
341  GLOBUS_ERROR_TYPE_DEPLETED_DEFINITION;
342 
343 #define GLOBUS_ERROR_TYPE_DEPLETED \
344  (&GLOBUS_ERROR_TYPE_DEPLETED_DEFINITION)
345 
346 /* allocate and initialize an error of type
347  * GLOBUS_ERROR_TYPE_DEPLETED */
348 extern globus_object_t *
349 globus_error_construct_depleted (
350  globus_module_descriptor_t * base_source,
351  globus_object_t * base_cause,
352  globus_object_t * access_failed_resource,
353  globus_object_t * access_failed_operation);
354 
355 /* initialize and return an error of type
356  * GLOBUS_ERROR_TYPE_DEPLETED */
357 extern globus_object_t *
358 globus_error_initialize_depleted (
359  globus_object_t * error,
360  globus_module_descriptor_t * base_source,
361  globus_object_t * base_cause,
362  globus_object_t * access_failed_resource,
363  globus_object_t * access_failed_operation);
364 
365 
366 extern const globus_object_type_t
367  GLOBUS_ERROR_TYPE_QUOTA_DEPLETED_DEFINITION;
368 
369 #define GLOBUS_ERROR_TYPE_QUOTA_DEPLETED \
370  (&GLOBUS_ERROR_TYPE_QUOTA_DEPLETED_DEFINITION)
371 
372 /* allocate and initialize an error of type
373  * GLOBUS_ERROR_TYPE_QUOTA_DEPLETED */
374 extern globus_object_t *
375 globus_error_construct_quota_depleted (
376  globus_module_descriptor_t * base_source,
377  globus_object_t * base_cause,
378  globus_object_t * access_failed_resource,
379  globus_object_t * access_failed_operation);
380 
381 /* initialize and return an error of type
382  * GLOBUS_ERROR_TYPE_QUOTA_DEPLETED */
383 extern globus_object_t *
384 globus_error_initialize_quota_depleted (
385  globus_object_t * error,
386  globus_module_descriptor_t * base_source,
387  globus_object_t * base_cause,
388  globus_object_t * access_failed_resource,
389  globus_object_t * access_failed_operation);
390 
391 
392 extern const globus_object_type_t
393  GLOBUS_ERROR_TYPE_OFFLINE_DEFINITION;
394 
395 #define GLOBUS_ERROR_TYPE_OFFLINE \
396  (&GLOBUS_ERROR_TYPE_OFFLINE_DEFINITION)
397 
398 /* allocate and initialize an error of type
399  * GLOBUS_ERROR_TYPE_OFFLINE */
400 extern globus_object_t *
401 globus_error_construct_offline (
402  globus_module_descriptor_t * base_source,
403  globus_object_t * base_cause,
404  globus_object_t * access_failed_resource,
405  globus_object_t * access_failed_operation);
406 
407 /* initialize and return an error of type
408  * GLOBUS_ERROR_TYPE_OFFLINE */
409 extern globus_object_t *
410 globus_error_initialize_offline (
411  globus_object_t * error,
412  globus_module_descriptor_t * base_source,
413  globus_object_t * base_cause,
414  globus_object_t * access_failed_resource,
415  globus_object_t * access_failed_operation);
416 
417 
418 extern const globus_object_type_t
419  GLOBUS_ERROR_TYPE_ABORTED_DEFINITION;
420 
421 #define GLOBUS_ERROR_TYPE_ABORTED \
422  (&GLOBUS_ERROR_TYPE_ABORTED_DEFINITION)
423 
424 /* allocate and initialize an error of type
425  * GLOBUS_ERROR_TYPE_ABORTED */
426 extern globus_object_t *
427 globus_error_construct_aborted (
428  globus_module_descriptor_t * base_source,
429  globus_object_t * base_cause,
430  globus_object_t * aborted_operation);
431 
432 /* initialize and return an error of type
433  * GLOBUS_ERROR_TYPE_ABORTED */
434 extern globus_object_t *
435 globus_error_initialize_aborted (
436  globus_object_t * error,
437  globus_module_descriptor_t * base_source,
438  globus_object_t * base_cause,
439  globus_object_t * aborted_operation);
440 
441 /* return the aborted_operation instance data of an error
442  * derived from GLOBUS_ERROR_TYPE_ABORTED */
443 extern globus_object_t *
444 globus_error_aborted_get_aborted_operation (globus_object_t * error)
445 ;
446 
447 /* set the aborted_operation instance data of an error
448  * derived from GLOBUS_ERROR_TYPE_ABORTED */
449 extern void
450 globus_error_aborted_set_aborted_operation (
451  globus_object_t * error,
452  globus_object_t * value)
453 ;
454 
455 
456 extern const globus_object_type_t
457  GLOBUS_ERROR_TYPE_USER_CANCELLED_DEFINITION;
458 
459 #define GLOBUS_ERROR_TYPE_USER_CANCELLED \
460  (&GLOBUS_ERROR_TYPE_USER_CANCELLED_DEFINITION)
461 
462 /* allocate and initialize an error of type
463  * GLOBUS_ERROR_TYPE_USER_CANCELLED */
464 extern globus_object_t *
465 globus_error_construct_user_cancelled (
466  globus_module_descriptor_t * base_source,
467  globus_object_t * base_cause,
468  globus_object_t * aborted_operation);
469 
470 /* initialize and return an error of type
471  * GLOBUS_ERROR_TYPE_USER_CANCELLED */
472 extern globus_object_t *
473 globus_error_initialize_user_cancelled (
474  globus_object_t * error,
475  globus_module_descriptor_t * base_source,
476  globus_object_t * base_cause,
477  globus_object_t * aborted_operation);
478 
479 
480 extern const globus_object_type_t
481  GLOBUS_ERROR_TYPE_INTERNAL_ERROR_DEFINITION;
482 
483 #define GLOBUS_ERROR_TYPE_INTERNAL_ERROR \
484  (&GLOBUS_ERROR_TYPE_INTERNAL_ERROR_DEFINITION)
485 
486 /* allocate and initialize an error of type
487  * GLOBUS_ERROR_TYPE_INTERNAL_ERROR */
488 extern globus_object_t *
489 globus_error_construct_internal_error (
490  globus_module_descriptor_t * base_source,
491  globus_object_t * base_cause,
492  globus_object_t * aborted_operation);
493 
494 /* initialize and return an error of type
495  * GLOBUS_ERROR_TYPE_INTERNAL_ERROR */
496 extern globus_object_t *
497 globus_error_initialize_internal_error (
498  globus_object_t * error,
499  globus_module_descriptor_t * base_source,
500  globus_object_t * base_cause,
501  globus_object_t * aborted_operation);
502 
503 
504 extern const globus_object_type_t
505  GLOBUS_ERROR_TYPE_SYSTEM_ABORTED_DEFINITION;
506 
507 #define GLOBUS_ERROR_TYPE_SYSTEM_ABORTED \
508  (&GLOBUS_ERROR_TYPE_SYSTEM_ABORTED_DEFINITION)
509 
510 /* allocate and initialize an error of type
511  * GLOBUS_ERROR_TYPE_SYSTEM_ABORTED */
512 extern globus_object_t *
513 globus_error_construct_system_aborted (
514  globus_module_descriptor_t * base_source,
515  globus_object_t * base_cause,
516  globus_object_t * aborted_operation);
517 
518 /* initialize and return an error of type
519  * GLOBUS_ERROR_TYPE_SYSTEM_ABORTED */
520 extern globus_object_t *
521 globus_error_initialize_system_aborted (
522  globus_object_t * error,
523  globus_module_descriptor_t * base_source,
524  globus_object_t * base_cause,
525  globus_object_t * aborted_operation);
526 
527 
528 extern const globus_object_type_t
529  GLOBUS_ERROR_TYPE_BAD_DATA_DEFINITION;
530 
531 #define GLOBUS_ERROR_TYPE_BAD_DATA \
532  (&GLOBUS_ERROR_TYPE_BAD_DATA_DEFINITION)
533 
534 /* allocate and initialize an error of type
535  * GLOBUS_ERROR_TYPE_BAD_DATA */
536 extern globus_object_t *
537 globus_error_construct_bad_data (
538  globus_module_descriptor_t * base_source,
539  globus_object_t * base_cause);
540 
541 /* initialize and return an error of type
542  * GLOBUS_ERROR_TYPE_BAD_DATA */
543 extern globus_object_t *
544 globus_error_initialize_bad_data (
545  globus_object_t * error,
546  globus_module_descriptor_t * base_source,
547  globus_object_t * base_cause);
548 
549 
550 extern const globus_object_type_t
551  GLOBUS_ERROR_TYPE_NULL_REFERENCE_DEFINITION;
552 
553 #define GLOBUS_ERROR_TYPE_NULL_REFERENCE \
554  (&GLOBUS_ERROR_TYPE_NULL_REFERENCE_DEFINITION)
555 
556 /* allocate and initialize an error of type
557  * GLOBUS_ERROR_TYPE_NULL_REFERENCE */
558 extern globus_object_t *
559 globus_error_construct_null_reference (
560  globus_module_descriptor_t * base_source,
561  globus_object_t * base_cause);
562 
563 /* initialize and return an error of type
564  * GLOBUS_ERROR_TYPE_NULL_REFERENCE */
565 extern globus_object_t *
566 globus_error_initialize_null_reference (
567  globus_object_t * error,
568  globus_module_descriptor_t * base_source,
569  globus_object_t * base_cause);
570 
571 
572 extern const globus_object_type_t
573  GLOBUS_ERROR_TYPE_TYPE_MISMATCH_DEFINITION;
574 
575 #define GLOBUS_ERROR_TYPE_TYPE_MISMATCH \
576  (&GLOBUS_ERROR_TYPE_TYPE_MISMATCH_DEFINITION)
577 
578 /* allocate and initialize an error of type
579  * GLOBUS_ERROR_TYPE_TYPE_MISMATCH */
580 extern globus_object_t *
581 globus_error_construct_type_mismatch (
582  globus_module_descriptor_t * base_source,
583  globus_object_t * base_cause);
584 
585 /* initialize and return an error of type
586  * GLOBUS_ERROR_TYPE_TYPE_MISMATCH */
587 extern globus_object_t *
588 globus_error_initialize_type_mismatch (
589  globus_object_t * error,
590  globus_module_descriptor_t * base_source,
591  globus_object_t * base_cause);
592 
593 
594 extern const globus_object_type_t
595  GLOBUS_ERROR_TYPE_BAD_FORMAT_DEFINITION;
596 
597 #define GLOBUS_ERROR_TYPE_BAD_FORMAT \
598  (&GLOBUS_ERROR_TYPE_BAD_FORMAT_DEFINITION)
599 
600 /* allocate and initialize an error of type
601  * GLOBUS_ERROR_TYPE_BAD_FORMAT */
602 extern globus_object_t *
603 globus_error_construct_bad_format (
604  globus_module_descriptor_t * base_source,
605  globus_object_t * base_cause);
606 
607 /* initialize and return an error of type
608  * GLOBUS_ERROR_TYPE_BAD_FORMAT */
609 extern globus_object_t *
610 globus_error_initialize_bad_format (
611  globus_object_t * error,
612  globus_module_descriptor_t * base_source,
613  globus_object_t * base_cause);
614 
615 
616 extern const globus_object_type_t
617  GLOBUS_ERROR_TYPE_NAME_UNKNOWN_DEFINITION;
618 
619 #define GLOBUS_ERROR_TYPE_NAME_UNKNOWN \
620  (&GLOBUS_ERROR_TYPE_NAME_UNKNOWN_DEFINITION)
621 
622 /* allocate and initialize an error of type
623  * GLOBUS_ERROR_TYPE_NAME_UNKNOWN */
624 extern globus_object_t *
625 globus_error_construct_name_unknown (
626  globus_module_descriptor_t * base_source,
627  globus_object_t * base_cause);
628 
629 /* initialize and return an error of type
630  * GLOBUS_ERROR_TYPE_NAME_UNKNOWN */
631 extern globus_object_t *
632 globus_error_initialize_name_unknown (
633  globus_object_t * error,
634  globus_module_descriptor_t * base_source,
635  globus_object_t * base_cause);
636 
637 
638 extern const globus_object_type_t
639  GLOBUS_ERROR_TYPE_OUT_OF_RANGE_DEFINITION;
640 
641 #define GLOBUS_ERROR_TYPE_OUT_OF_RANGE \
642  (&GLOBUS_ERROR_TYPE_OUT_OF_RANGE_DEFINITION)
643 
644 /* allocate and initialize an error of type
645  * GLOBUS_ERROR_TYPE_OUT_OF_RANGE */
646 extern globus_object_t *
647 globus_error_construct_out_of_range (
648  globus_module_descriptor_t * base_source,
649  globus_object_t * base_cause);
650 
651 /* initialize and return an error of type
652  * GLOBUS_ERROR_TYPE_OUT_OF_RANGE */
653 extern globus_object_t *
654 globus_error_initialize_out_of_range (
655  globus_object_t * error,
656  globus_module_descriptor_t * base_source,
657  globus_object_t * base_cause);
658 
659 
660 extern const globus_object_type_t
661  GLOBUS_ERROR_TYPE_TOO_LARGE_DEFINITION;
662 
663 #define GLOBUS_ERROR_TYPE_TOO_LARGE \
664  (&GLOBUS_ERROR_TYPE_TOO_LARGE_DEFINITION)
665 
666 /* allocate and initialize an error of type
667  * GLOBUS_ERROR_TYPE_TOO_LARGE */
668 extern globus_object_t *
669 globus_error_construct_too_large (
670  globus_module_descriptor_t * base_source,
671  globus_object_t * base_cause);
672 
673 /* initialize and return an error of type
674  * GLOBUS_ERROR_TYPE_TOO_LARGE */
675 extern globus_object_t *
676 globus_error_initialize_too_large (
677  globus_object_t * error,
678  globus_module_descriptor_t * base_source,
679  globus_object_t * base_cause);
680 
681 
682 extern const globus_object_type_t
683  GLOBUS_ERROR_TYPE_TOO_SMALL_DEFINITION;
684 
685 #define GLOBUS_ERROR_TYPE_TOO_SMALL \
686  (&GLOBUS_ERROR_TYPE_TOO_SMALL_DEFINITION)
687 
688 /* allocate and initialize an error of type
689  * GLOBUS_ERROR_TYPE_TOO_SMALL */
690 extern globus_object_t *
691 globus_error_construct_too_small (
692  globus_module_descriptor_t * base_source,
693  globus_object_t * base_cause);
694 
695 /* initialize and return an error of type
696  * GLOBUS_ERROR_TYPE_TOO_SMALL */
697 extern globus_object_t *
698 globus_error_initialize_too_small (
699  globus_object_t * error,
700  globus_module_descriptor_t * base_source,
701  globus_object_t * base_cause);
702 
703 
704 extern const globus_object_type_t
705  GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED_DEFINITION;
706 
707 #define GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED \
708  (&GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED_DEFINITION)
709 
710 /* allocate and initialize an error of type
711  * GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
712 extern globus_object_t *
713 globus_error_construct_communication_failed (
714  globus_module_descriptor_t * base_source,
715  globus_object_t * base_cause,
716  globus_object_t * communication_failed_local_resource,
717  globus_object_t * communication_failed_remote_resource);
718 
719 /* initialize and return an error of type
720  * GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
721 extern globus_object_t *
722 globus_error_initialize_communication_failed (
723  globus_object_t * error,
724  globus_module_descriptor_t * base_source,
725  globus_object_t * base_cause,
726  globus_object_t * communication_failed_local_resource,
727  globus_object_t * communication_failed_remote_resource);
728 
729 /* return the communication_failed_local_resource instance data of an error
730  * derived from GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
731 extern globus_object_t *
732 globus_error_communication_failed_get_communication_failed_local_resource (globus_object_t * error)
733 ;
734 
735 /* set the communication_failed_local_resource instance data of an error
736  * derived from GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
737 extern void
738 globus_error_communication_failed_set_communication_failed_local_resource (
739  globus_object_t * error,
740  globus_object_t * value)
741 ;
742 
743 /* return the communication_failed_remote_resource instance data of an error
744  * derived from GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
745 extern globus_object_t *
746 globus_error_communication_failed_get_communication_failed_remote_resource (globus_object_t * error)
747 ;
748 
749 /* set the communication_failed_remote_resource instance data of an error
750  * derived from GLOBUS_ERROR_TYPE_COMMUNICATION_FAILED */
751 extern void
752 globus_error_communication_failed_set_communication_failed_remote_resource (
753  globus_object_t * error,
754  globus_object_t * value)
755 ;
756 
757 
758 extern const globus_object_type_t
759  GLOBUS_ERROR_TYPE_UNREACHABLE_DEFINITION;
760 
761 #define GLOBUS_ERROR_TYPE_UNREACHABLE \
762  (&GLOBUS_ERROR_TYPE_UNREACHABLE_DEFINITION)
763 
764 /* allocate and initialize an error of type
765  * GLOBUS_ERROR_TYPE_UNREACHABLE */
766 extern globus_object_t *
767 globus_error_construct_unreachable (
768  globus_module_descriptor_t * base_source,
769  globus_object_t * base_cause,
770  globus_object_t * communication_failed_local_resource,
771  globus_object_t * communication_failed_remote_resource);
772 
773 /* initialize and return an error of type
774  * GLOBUS_ERROR_TYPE_UNREACHABLE */
775 extern globus_object_t *
776 globus_error_initialize_unreachable (
777  globus_object_t * error,
778  globus_module_descriptor_t * base_source,
779  globus_object_t * base_cause,
780  globus_object_t * communication_failed_local_resource,
781  globus_object_t * communication_failed_remote_resource);
782 
783 
784 extern const globus_object_type_t
785  GLOBUS_ERROR_TYPE_PROTOCOL_MISMATCH_DEFINITION;
786 
787 #define GLOBUS_ERROR_TYPE_PROTOCOL_MISMATCH \
788  (&GLOBUS_ERROR_TYPE_PROTOCOL_MISMATCH_DEFINITION)
789 
790 /* allocate and initialize an error of type
791  * GLOBUS_ERROR_TYPE_PROTOCOL_MISMATCH */
792 extern globus_object_t *
793 globus_error_construct_protocol_mismatch (
794  globus_module_descriptor_t * base_source,
795  globus_object_t * base_cause,
796  globus_object_t * communication_failed_local_resource,
797  globus_object_t * communication_failed_remote_resource);
798 
799 /* initialize and return an error of type
800  * GLOBUS_ERROR_TYPE_PROTOCOL_MISMATCH */
801 extern globus_object_t *
802 globus_error_initialize_protocol_mismatch (
803  globus_object_t * error,
804  globus_module_descriptor_t * base_source,
805  globus_object_t * base_cause,
806  globus_object_t * communication_failed_local_resource,
807  globus_object_t * communication_failed_remote_resource);
808 
809 
810 extern const globus_object_type_t
811  GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED_DEFINITION;
812 
813 #define GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED \
814  (&GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED_DEFINITION)
815 
816 /* allocate and initialize an error of type
817  * GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED */
818 extern globus_object_t *
819 globus_error_construct_protocol_violated (
820  globus_module_descriptor_t * base_source,
821  globus_object_t * base_cause,
822  globus_object_t * communication_failed_local_resource,
823  globus_object_t * communication_failed_remote_resource,
824  globus_object_t * protocol_violated_version);
825 
826 /* initialize and return an error of type
827  * GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED */
828 extern globus_object_t *
829 globus_error_initialize_protocol_violated (
830  globus_object_t * error,
831  globus_module_descriptor_t * base_source,
832  globus_object_t * base_cause,
833  globus_object_t * communication_failed_local_resource,
834  globus_object_t * communication_failed_remote_resource,
835  globus_object_t * protocol_violated_version);
836 
837 /* return the protocol_violated_version instance data of an error
838  * derived from GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED */
839 extern globus_object_t *
840 globus_error_protocol_violated_get_protocol_violated_version (globus_object_t * error)
841 ;
842 
843 /* set the protocol_violated_version instance data of an error
844  * derived from GLOBUS_ERROR_TYPE_PROTOCOL_VIOLATED */
845 extern void
846 globus_error_protocol_violated_set_protocol_violated_version (
847  globus_object_t * error,
848  globus_object_t * value)
849 ;
850 
851 
852 extern const globus_object_type_t
853  GLOBUS_ERROR_TYPE_INVALID_USE_DEFINITION;
854 
855 #define GLOBUS_ERROR_TYPE_INVALID_USE \
856  (&GLOBUS_ERROR_TYPE_INVALID_USE_DEFINITION)
857 
858 /* allocate and initialize an error of type
859  * GLOBUS_ERROR_TYPE_INVALID_USE */
860 extern globus_object_t *
861 globus_error_construct_invalid_use (
862  globus_module_descriptor_t * base_source,
863  globus_object_t * base_cause,
864  globus_object_t * invalid_use_operation);
865 
866 /* initialize and return an error of type
867  * GLOBUS_ERROR_TYPE_INVALID_USE */
868 extern globus_object_t *
869 globus_error_initialize_invalid_use (
870  globus_object_t * error,
871  globus_module_descriptor_t * base_source,
872  globus_object_t * base_cause,
873  globus_object_t * invalid_use_operation);
874 
875 /* return the invalid_use_operation instance data of an error
876  * derived from GLOBUS_ERROR_TYPE_INVALID_USE */
877 extern globus_object_t *
878 globus_error_invalid_use_get_invalid_use_operation (globus_object_t * error)
879 ;
880 
881 /* set the invalid_use_operation instance data of an error
882  * derived from GLOBUS_ERROR_TYPE_INVALID_USE */
883 extern void
884 globus_error_invalid_use_set_invalid_use_operation (
885  globus_object_t * error,
886  globus_object_t * value)
887 ;
888 
889 
890 extern const globus_object_type_t
891  GLOBUS_ERROR_TYPE_ALREADY_DONE_DEFINITION;
892 
893 #define GLOBUS_ERROR_TYPE_ALREADY_DONE \
894  (&GLOBUS_ERROR_TYPE_ALREADY_DONE_DEFINITION)
895 
896 /* allocate and initialize an error of type
897  * GLOBUS_ERROR_TYPE_ALREADY_DONE */
898 extern globus_object_t *
899 globus_error_construct_already_done (
900  globus_module_descriptor_t * base_source,
901  globus_object_t * base_cause,
902  globus_object_t * invalid_use_operation);
903 
904 /* initialize and return an error of type
905  * GLOBUS_ERROR_TYPE_ALREADY_DONE */
906 extern globus_object_t *
907 globus_error_initialize_already_done (
908  globus_object_t * error,
909  globus_module_descriptor_t * base_source,
910  globus_object_t * base_cause,
911  globus_object_t * invalid_use_operation);
912 
913 
914 extern const globus_object_type_t
915  GLOBUS_ERROR_TYPE_ALREADY_REGISTERED_DEFINITION;
916 
917 #define GLOBUS_ERROR_TYPE_ALREADY_REGISTERED \
918  (&GLOBUS_ERROR_TYPE_ALREADY_REGISTERED_DEFINITION)
919 
920 /* allocate and initialize an error of type
921  * GLOBUS_ERROR_TYPE_ALREADY_REGISTERED */
922 extern globus_object_t *
923 globus_error_construct_already_registered (
924  globus_module_descriptor_t * base_source,
925  globus_object_t * base_cause,
926  globus_object_t * invalid_use_operation);
927 
928 /* initialize and return an error of type
929  * GLOBUS_ERROR_TYPE_ALREADY_REGISTERED */
930 extern globus_object_t *
931 globus_error_initialize_already_registered (
932  globus_object_t * error,
933  globus_module_descriptor_t * base_source,
934  globus_object_t * base_cause,
935  globus_object_t * invalid_use_operation);
936 
937 
938 extern const globus_object_type_t
939  GLOBUS_ERROR_TYPE_ALREADY_CANCELLED_DEFINITION;
940 
941 #define GLOBUS_ERROR_TYPE_ALREADY_CANCELLED \
942  (&GLOBUS_ERROR_TYPE_ALREADY_CANCELLED_DEFINITION)
943 
944 /* allocate and initialize an error of type
945  * GLOBUS_ERROR_TYPE_ALREADY_CANCELLED */
946 extern globus_object_t *
947 globus_error_construct_already_cancelled (
948  globus_module_descriptor_t * base_source,
949  globus_object_t * base_cause,
950  globus_object_t * invalid_use_operation);
951 
952 /* initialize and return an error of type
953  * GLOBUS_ERROR_TYPE_ALREADY_CANCELLED */
954 extern globus_object_t *
955 globus_error_initialize_already_cancelled (
956  globus_object_t * error,
957  globus_module_descriptor_t * base_source,
958  globus_object_t * base_cause,
959  globus_object_t * invalid_use_operation);
960 
961 
962 extern const globus_object_type_t
963  GLOBUS_ERROR_TYPE_NOT_INITIALIZED_DEFINITION;
964 
965 #define GLOBUS_ERROR_TYPE_NOT_INITIALIZED \
966  (&GLOBUS_ERROR_TYPE_NOT_INITIALIZED_DEFINITION)
967 
968 /* allocate and initialize an error of type
969  * GLOBUS_ERROR_TYPE_NOT_INITIALIZED */
970 extern globus_object_t *
971 globus_error_construct_not_initialized (
972  globus_module_descriptor_t * base_source,
973  globus_object_t * base_cause,
974  globus_object_t * invalid_use_operation);
975 
976 /* initialize and return an error of type
977  * GLOBUS_ERROR_TYPE_NOT_INITIALIZED */
978 extern globus_object_t *
979 globus_error_initialize_not_initialized (
980  globus_object_t * error,
981  globus_module_descriptor_t * base_source,
982  globus_object_t * base_cause,
983  globus_object_t * invalid_use_operation);
984 
985 
986 
987 #ifdef __cplusplus
988 }
989 #endif
990 
991 #endif /* GLOBUS_ERROR_HIERARCHY_H */
992 
Globus Error Handling.
Include System Headers.
Module Descriptor.
Definition: globus_module.h:71