MISR Toolkit  1.5.1
H5Einit.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /* Generated automatically by bin/make_err -- do not edit */
15 /* Add new errors to H5err.txt file */
16 
17 
18 #ifndef _H5Einit_H
19 #define _H5Einit_H
20 
21 /*********************/
22 /* Major error codes */
23 /*********************/
24 
25 assert(H5E_DATASET_g==(-1));
26 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL)
27  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
28 if((H5E_DATASET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
29  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
30 assert(H5E_FUNC_g==(-1));
31 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Function entry/exit"))==NULL)
32  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
33 if((H5E_FUNC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
34  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
35 assert(H5E_STORAGE_g==(-1));
36 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data storage"))==NULL)
37  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
38 if((H5E_STORAGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
39  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
40 assert(H5E_FILE_g==(-1));
41 if((msg = H5E_create_msg(cls, H5E_MAJOR, "File accessibilty"))==NULL)
42  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
43 if((H5E_FILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
44  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
45 assert(H5E_SOHM_g==(-1));
46 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Shared Object Header Messages"))==NULL)
47  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
48 if((H5E_SOHM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
49  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
50 assert(H5E_SYM_g==(-1));
51 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Symbol table"))==NULL)
52  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
53 if((H5E_SYM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
54  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
55 assert(H5E_PLUGIN_g==(-1));
56 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Plugin for dynamically loaded library"))==NULL)
57  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
58 if((H5E_PLUGIN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
59  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
60 assert(H5E_VFL_g==(-1));
61 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual File Layer"))==NULL)
62  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
63 if((H5E_VFL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
64  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
65 assert(H5E_INTERNAL_g==(-1));
66 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Internal error (too specific to document in detail)"))==NULL)
67  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
68 if((H5E_INTERNAL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
69  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
70 assert(H5E_BTREE_g==(-1));
71 if((msg = H5E_create_msg(cls, H5E_MAJOR, "B-Tree node"))==NULL)
72  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
73 if((H5E_BTREE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
74  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
75 assert(H5E_REFERENCE_g==(-1));
76 if((msg = H5E_create_msg(cls, H5E_MAJOR, "References"))==NULL)
77  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
78 if((H5E_REFERENCE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
79  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
80 assert(H5E_DATASPACE_g==(-1));
81 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataspace"))==NULL)
82  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
83 if((H5E_DATASPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
84  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
85 assert(H5E_RESOURCE_g==(-1));
86 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Resource unavailable"))==NULL)
87  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
88 if((H5E_RESOURCE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
89  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
90 assert(H5E_PLIST_g==(-1));
91 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Property lists"))==NULL)
92  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
93 if((H5E_PLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
94  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
95 assert(H5E_LINK_g==(-1));
96 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Links"))==NULL)
97  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
98 if((H5E_LINK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
99  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
100 assert(H5E_DATATYPE_g==(-1));
101 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Datatype"))==NULL)
102  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
103 if((H5E_DATATYPE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
104  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
105 assert(H5E_RS_g==(-1));
106 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Reference Counted Strings"))==NULL)
107  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
108 if((H5E_RS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
109  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
110 assert(H5E_HEAP_g==(-1));
111 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Heap"))==NULL)
112  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
113 if((H5E_HEAP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
114  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
115 assert(H5E_OHDR_g==(-1));
116 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object header"))==NULL)
117  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
118 if((H5E_OHDR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
119  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
120 assert(H5E_ATOM_g==(-1));
121 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object atom"))==NULL)
122  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
123 if((H5E_ATOM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
124  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
125 assert(H5E_ATTR_g==(-1));
126 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Attribute"))==NULL)
127  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
128 if((H5E_ATTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
129  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
130 assert(H5E_NONE_MAJOR_g==(-1));
131 if((msg = H5E_create_msg(cls, H5E_MAJOR, "No error"))==NULL)
132  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
133 if((H5E_NONE_MAJOR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
134  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
135 assert(H5E_IO_g==(-1));
136 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Low-level I/O"))==NULL)
137  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
138 if((H5E_IO_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
139  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
140 assert(H5E_SLIST_g==(-1));
141 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Skip Lists"))==NULL)
142  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
143 if((H5E_SLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
144  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
145 assert(H5E_EFL_g==(-1));
146 if((msg = H5E_create_msg(cls, H5E_MAJOR, "External file list"))==NULL)
147  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
148 if((H5E_EFL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
149  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
150 assert(H5E_TST_g==(-1));
151 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Ternary Search Trees"))==NULL)
152  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
153 if((H5E_TST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
154  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
155 assert(H5E_ARGS_g==(-1));
156 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Invalid arguments to routine"))==NULL)
157  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
158 if((H5E_ARGS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
159  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
160 assert(H5E_ERROR_g==(-1));
161 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Error API"))==NULL)
162  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
163 if((H5E_ERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
164  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
165 assert(H5E_PLINE_g==(-1));
166 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data filters"))==NULL)
167  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
168 if((H5E_PLINE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
169  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
170 assert(H5E_FSPACE_g==(-1));
171 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Free Space Manager"))==NULL)
172  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
173 if((H5E_FSPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
174  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
175 assert(H5E_CACHE_g==(-1));
176 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object cache"))==NULL)
177  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
178 if((H5E_CACHE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
179  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
180 
181 /*********************/
182 /* Minor error codes */
183 /*********************/
184 
185 
186 /* Generic low-level file I/O errors */
187 assert(H5E_SEEKERROR_g==(-1));
188 if((msg = H5E_create_msg(cls, H5E_MINOR, "Seek failed"))==NULL)
189  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
190 if((H5E_SEEKERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
191  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
192 assert(H5E_READERROR_g==(-1));
193 if((msg = H5E_create_msg(cls, H5E_MINOR, "Read failed"))==NULL)
194  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
195 if((H5E_READERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
196  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
197 assert(H5E_WRITEERROR_g==(-1));
198 if((msg = H5E_create_msg(cls, H5E_MINOR, "Write failed"))==NULL)
199  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
200 if((H5E_WRITEERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
201  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
202 assert(H5E_CLOSEERROR_g==(-1));
203 if((msg = H5E_create_msg(cls, H5E_MINOR, "Close failed"))==NULL)
204  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
205 if((H5E_CLOSEERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
206  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
207 assert(H5E_OVERFLOW_g==(-1));
208 if((msg = H5E_create_msg(cls, H5E_MINOR, "Address overflowed"))==NULL)
209  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
210 if((H5E_OVERFLOW_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
211  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
212 assert(H5E_FCNTL_g==(-1));
213 if((msg = H5E_create_msg(cls, H5E_MINOR, "File control (fcntl) failed"))==NULL)
214  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
215 if((H5E_FCNTL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
216  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
217 
218 /* Resource errors */
219 assert(H5E_NOSPACE_g==(-1));
220 if((msg = H5E_create_msg(cls, H5E_MINOR, "No space available for allocation"))==NULL)
221  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
222 if((H5E_NOSPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
223  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
224 assert(H5E_CANTALLOC_g==(-1));
225 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't allocate space"))==NULL)
226  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
227 if((H5E_CANTALLOC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
228  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
229 assert(H5E_CANTCOPY_g==(-1));
230 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to copy object"))==NULL)
231  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
232 if((H5E_CANTCOPY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
233  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
234 assert(H5E_CANTFREE_g==(-1));
235 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to free object"))==NULL)
236  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
237 if((H5E_CANTFREE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
238  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
240 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
241  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
242 if((H5E_ALREADYEXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
243  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
244 assert(H5E_CANTLOCK_g==(-1));
245 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to lock object"))==NULL)
246  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
247 if((H5E_CANTLOCK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
248  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
249 assert(H5E_CANTUNLOCK_g==(-1));
250 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unlock object"))==NULL)
251  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
252 if((H5E_CANTUNLOCK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
253  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
254 assert(H5E_CANTGC_g==(-1));
255 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to garbage collect"))==NULL)
256  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
257 if((H5E_CANTGC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
258  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
260 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to compute size"))==NULL)
261  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
262 if((H5E_CANTGETSIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
263  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
264 assert(H5E_OBJOPEN_g==(-1));
265 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object is already open"))==NULL)
266  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
267 if((H5E_OBJOPEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
268  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
269 
270 /* Heap errors */
272 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't restore condition"))==NULL)
273  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
274 if((H5E_CANTRESTORE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
275  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
277 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compute value"))==NULL)
278  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
279 if((H5E_CANTCOMPUTE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
280  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
281 assert(H5E_CANTEXTEND_g==(-1));
282 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't extend heap's space"))==NULL)
283  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
284 if((H5E_CANTEXTEND_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
285  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
286 assert(H5E_CANTATTACH_g==(-1));
287 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't attach object"))==NULL)
288  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
289 if((H5E_CANTATTACH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
290  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
291 assert(H5E_CANTUPDATE_g==(-1));
292 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't update object"))==NULL)
293  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
294 if((H5E_CANTUPDATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
295  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
297 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't operate on object"))==NULL)
298  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
299 if((H5E_CANTOPERATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
300  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
301 
302 /* Function entry/exit interface errors */
303 assert(H5E_CANTINIT_g==(-1));
304 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to initialize object"))==NULL)
305  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
306 if((H5E_CANTINIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
307  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
309 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already initialized"))==NULL)
310  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
311 if((H5E_ALREADYINIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
312  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
314 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to release object"))==NULL)
315  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
316 if((H5E_CANTRELEASE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
317  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
318 
319 /* Property list errors */
320 assert(H5E_CANTGET_g==(-1));
321 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't get value"))==NULL)
322  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
323 if((H5E_CANTGET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
324  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
325 assert(H5E_CANTSET_g==(-1));
326 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't set value"))==NULL)
327  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
328 if((H5E_CANTSET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
329  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
330 assert(H5E_DUPCLASS_g==(-1));
331 if((msg = H5E_create_msg(cls, H5E_MINOR, "Duplicate class name in parent class"))==NULL)
332  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
333 if((H5E_DUPCLASS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
334  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
336 if((msg = H5E_create_msg(cls, H5E_MINOR, "Disallowed operation"))==NULL)
337  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
338 if((H5E_SETDISALLOWED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
339  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
340 
341 /* Free space errors */
342 assert(H5E_CANTMERGE_g==(-1));
343 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't merge objects"))==NULL)
344  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
345 if((H5E_CANTMERGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
346  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
347 assert(H5E_CANTREVIVE_g==(-1));
348 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't revive object"))==NULL)
349  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
350 if((H5E_CANTREVIVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
351  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
352 assert(H5E_CANTSHRINK_g==(-1));
353 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't shrink container"))==NULL)
354  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
355 if((H5E_CANTSHRINK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
356  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
357 
358 /* Object header related errors */
359 assert(H5E_LINKCOUNT_g==(-1));
360 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad object header link count"))==NULL)
361  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
362 if((H5E_LINKCOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
363  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
364 assert(H5E_VERSION_g==(-1));
365 if((msg = H5E_create_msg(cls, H5E_MINOR, "Wrong version number"))==NULL)
366  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
367 if((H5E_VERSION_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
368  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
369 assert(H5E_ALIGNMENT_g==(-1));
370 if((msg = H5E_create_msg(cls, H5E_MINOR, "Alignment error"))==NULL)
371  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
372 if((H5E_ALIGNMENT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
373  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
374 assert(H5E_BADMESG_g==(-1));
375 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unrecognized message"))==NULL)
376  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
377 if((H5E_BADMESG_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
378  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
379 assert(H5E_CANTDELETE_g==(-1));
380 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't delete message"))==NULL)
381  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
382 if((H5E_CANTDELETE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
383  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
384 assert(H5E_BADITER_g==(-1));
385 if((msg = H5E_create_msg(cls, H5E_MINOR, "Iteration failed"))==NULL)
386  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
387 if((H5E_BADITER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
388  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
389 assert(H5E_CANTPACK_g==(-1));
390 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't pack messages"))==NULL)
391  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
392 if((H5E_CANTPACK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
393  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
394 assert(H5E_CANTRESET_g==(-1));
395 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't reset object"))==NULL)
396  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
397 if((H5E_CANTRESET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
398  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
399 assert(H5E_CANTRENAME_g==(-1));
400 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to rename object"))==NULL)
401  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
402 if((H5E_CANTRENAME_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
403  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
404 
405 /* System level errors */
406 assert(H5E_SYSERRSTR_g==(-1));
407 if((msg = H5E_create_msg(cls, H5E_MINOR, "System error message"))==NULL)
408  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
409 if((H5E_SYSERRSTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
410  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
411 
412 /* I/O pipeline errors */
413 assert(H5E_NOFILTER_g==(-1));
414 if((msg = H5E_create_msg(cls, H5E_MINOR, "Requested filter is not available"))==NULL)
415  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
416 if((H5E_NOFILTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
417  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
418 assert(H5E_CALLBACK_g==(-1));
419 if((msg = H5E_create_msg(cls, H5E_MINOR, "Callback failed"))==NULL)
420  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
421 if((H5E_CALLBACK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
422  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
423 assert(H5E_CANAPPLY_g==(-1));
424 if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'can apply' callback"))==NULL)
425  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
426 if((H5E_CANAPPLY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
427  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
428 assert(H5E_SETLOCAL_g==(-1));
429 if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'set local' callback"))==NULL)
430  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
431 if((H5E_SETLOCAL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
432  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
433 assert(H5E_NOENCODER_g==(-1));
434 if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter present but encoding disabled"))==NULL)
435  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
436 if((H5E_NOENCODER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
437  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
438 assert(H5E_CANTFILTER_g==(-1));
439 if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter operation failed"))==NULL)
440  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
441 if((H5E_CANTFILTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
442  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
443 
444 /* Group related errors */
446 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open object"))==NULL)
447  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
448 if((H5E_CANTOPENOBJ_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
449  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
451 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't close object"))==NULL)
452  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
453 if((H5E_CANTCLOSEOBJ_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
454  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
455 assert(H5E_COMPLEN_g==(-1));
456 if((msg = H5E_create_msg(cls, H5E_MINOR, "Name component is too long"))==NULL)
457  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
458 if((H5E_COMPLEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
459  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
460 assert(H5E_PATH_g==(-1));
461 if((msg = H5E_create_msg(cls, H5E_MINOR, "Problem with path to object"))==NULL)
462  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
463 if((H5E_PATH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
464  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
465 
466 /* No error */
467 assert(H5E_NONE_MINOR_g==(-1));
468 if((msg = H5E_create_msg(cls, H5E_MINOR, "No error"))==NULL)
469  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
470 if((H5E_NONE_MINOR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
471  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
472 
473 /* Plugin errors */
474 assert(H5E_OPENERROR_g==(-1));
475 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open directory or file"))==NULL)
476  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
477 if((H5E_OPENERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
478  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
479 
480 /* File accessibilty errors */
481 assert(H5E_FILEEXISTS_g==(-1));
482 if((msg = H5E_create_msg(cls, H5E_MINOR, "File already exists"))==NULL)
483  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
484 if((H5E_FILEEXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
485  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
486 assert(H5E_FILEOPEN_g==(-1));
487 if((msg = H5E_create_msg(cls, H5E_MINOR, "File already open"))==NULL)
488  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
489 if((H5E_FILEOPEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
490  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
491 assert(H5E_CANTCREATE_g==(-1));
492 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to create file"))==NULL)
493  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
494 if((H5E_CANTCREATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
495  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
497 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to open file"))==NULL)
498  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
499 if((H5E_CANTOPENFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
500  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
502 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to close file"))==NULL)
503  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
504 if((H5E_CANTCLOSEFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
505  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
506 assert(H5E_NOTHDF5_g==(-1));
507 if((msg = H5E_create_msg(cls, H5E_MINOR, "Not an HDF5 file"))==NULL)
508  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
509 if((H5E_NOTHDF5_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
510  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
511 assert(H5E_BADFILE_g==(-1));
512 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad file ID accessed"))==NULL)
513  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
514 if((H5E_BADFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
515  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
516 assert(H5E_TRUNCATED_g==(-1));
517 if((msg = H5E_create_msg(cls, H5E_MINOR, "File has been truncated"))==NULL)
518  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
519 if((H5E_TRUNCATED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
520  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
521 assert(H5E_MOUNT_g==(-1));
522 if((msg = H5E_create_msg(cls, H5E_MINOR, "File mount error"))==NULL)
523  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
524 if((H5E_MOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
525  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
526 
527 /* Object atom related errors */
528 assert(H5E_BADATOM_g==(-1));
529 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to find atom information (already closed?)"))==NULL)
530  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
531 if((H5E_BADATOM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
532  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
533 assert(H5E_BADGROUP_g==(-1));
534 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to find ID group information"))==NULL)
535  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
536 if((H5E_BADGROUP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
537  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
539 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to register new atom"))==NULL)
540  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
541 if((H5E_CANTREGISTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
542  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
543 assert(H5E_CANTINC_g==(-1));
544 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to increment reference count"))==NULL)
545  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
546 if((H5E_CANTINC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
547  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
548 assert(H5E_CANTDEC_g==(-1));
549 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decrement reference count"))==NULL)
550  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
551 if((H5E_CANTDEC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
552  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
553 assert(H5E_NOIDS_g==(-1));
554 if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of IDs for group"))==NULL)
555  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
556 if((H5E_NOIDS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
557  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
558 
559 /* Cache related errors */
560 assert(H5E_CANTFLUSH_g==(-1));
561 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to flush data from cache"))==NULL)
562  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
563 if((H5E_CANTFLUSH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
564  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
566 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to serialize data from cache"))==NULL)
567  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
568 if((H5E_CANTSERIALIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
569  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
570 assert(H5E_CANTLOAD_g==(-1));
571 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to load metadata into cache"))==NULL)
572  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
573 if((H5E_CANTLOAD_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
574  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
575 assert(H5E_PROTECT_g==(-1));
576 if((msg = H5E_create_msg(cls, H5E_MINOR, "Protected metadata error"))==NULL)
577  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
578 if((H5E_PROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
579  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
580 assert(H5E_NOTCACHED_g==(-1));
581 if((msg = H5E_create_msg(cls, H5E_MINOR, "Metadata not currently cached"))==NULL)
582  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
583 if((H5E_NOTCACHED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
584  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
585 assert(H5E_SYSTEM_g==(-1));
586 if((msg = H5E_create_msg(cls, H5E_MINOR, "Internal error detected"))==NULL)
587  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
588 if((H5E_SYSTEM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
589  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
590 assert(H5E_CANTINS_g==(-1));
591 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert metadata into cache"))==NULL)
592  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
593 if((H5E_CANTINS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
594  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
596 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to protect metadata"))==NULL)
597  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
598 if((H5E_CANTPROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
599  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
601 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unprotect metadata"))==NULL)
602  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
603 if((H5E_CANTUNPROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
604  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
605 assert(H5E_CANTPIN_g==(-1));
606 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to pin cache entry"))==NULL)
607  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
608 if((H5E_CANTPIN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
609  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
610 assert(H5E_CANTUNPIN_g==(-1));
611 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to un-pin cache entry"))==NULL)
612  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
613 if((H5E_CANTUNPIN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
614  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
616 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to mark a pinned entry as dirty"))==NULL)
617  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
618 if((H5E_CANTMARKDIRTY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
619  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
620 assert(H5E_CANTDIRTY_g==(-1));
621 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to mark metadata as dirty"))==NULL)
622  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
623 if((H5E_CANTDIRTY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
624  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
626 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to expunge a metadata cache entry"))==NULL)
627  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
628 if((H5E_CANTEXPUNGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
629  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
630 assert(H5E_CANTRESIZE_g==(-1));
631 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to resize a metadata cache entry"))==NULL)
632  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
633 if((H5E_CANTRESIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
634  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
635 
636 /* Link related errors */
637 assert(H5E_TRAVERSE_g==(-1));
638 if((msg = H5E_create_msg(cls, H5E_MINOR, "Link traversal failure"))==NULL)
639  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
640 if((H5E_TRAVERSE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
641  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
642 assert(H5E_NLINKS_g==(-1));
643 if((msg = H5E_create_msg(cls, H5E_MINOR, "Too many soft links in path"))==NULL)
644  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
645 if((H5E_NLINKS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
646  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
648 if((msg = H5E_create_msg(cls, H5E_MINOR, "Link class not registered"))==NULL)
649  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
650 if((H5E_NOTREGISTERED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
651  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
652 assert(H5E_CANTMOVE_g==(-1));
653 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't move object"))==NULL)
654  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
655 if((H5E_CANTMOVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
656  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
657 assert(H5E_CANTSORT_g==(-1));
658 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't sort objects"))==NULL)
659  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
660 if((H5E_CANTSORT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
661  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
662 
663 /* Parallel MPI errors */
664 assert(H5E_MPI_g==(-1));
665 if((msg = H5E_create_msg(cls, H5E_MINOR, "Some MPI function failed"))==NULL)
666  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
667 if((H5E_MPI_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
668  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
669 assert(H5E_MPIERRSTR_g==(-1));
670 if((msg = H5E_create_msg(cls, H5E_MINOR, "MPI Error String"))==NULL)
671  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
672 if((H5E_MPIERRSTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
673  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
674 assert(H5E_CANTRECV_g==(-1));
675 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't receive data"))==NULL)
676  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
677 if((H5E_CANTRECV_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
678  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
679 
680 /* Dataspace errors */
681 assert(H5E_CANTCLIP_g==(-1));
682 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't clip hyperslab region"))==NULL)
683  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
684 if((H5E_CANTCLIP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
685  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
686 assert(H5E_CANTCOUNT_g==(-1));
687 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't count elements"))==NULL)
688  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
689 if((H5E_CANTCOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
690  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
691 assert(H5E_CANTSELECT_g==(-1));
692 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't select hyperslab"))==NULL)
693  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
694 if((H5E_CANTSELECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
695  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
696 assert(H5E_CANTNEXT_g==(-1));
697 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't move to next iterator location"))==NULL)
698  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
699 if((H5E_CANTNEXT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
700  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
701 assert(H5E_BADSELECT_g==(-1));
702 if((msg = H5E_create_msg(cls, H5E_MINOR, "Invalid selection"))==NULL)
703  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
704 if((H5E_BADSELECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
705  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
707 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compare objects"))==NULL)
708  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
709 if((H5E_CANTCOMPARE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
710  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
711 
712 /* Argument errors */
714 if((msg = H5E_create_msg(cls, H5E_MINOR, "Information is uinitialized"))==NULL)
715  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
716 if((H5E_UNINITIALIZED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
717  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
719 if((msg = H5E_create_msg(cls, H5E_MINOR, "Feature is unsupported"))==NULL)
720  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
721 if((H5E_UNSUPPORTED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
722  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
723 assert(H5E_BADTYPE_g==(-1));
724 if((msg = H5E_create_msg(cls, H5E_MINOR, "Inappropriate type"))==NULL)
725  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
726 if((H5E_BADTYPE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
727  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
728 assert(H5E_BADRANGE_g==(-1));
729 if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of range"))==NULL)
730  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
731 if((H5E_BADRANGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
732  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
733 assert(H5E_BADVALUE_g==(-1));
734 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad value"))==NULL)
735  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
736 if((H5E_BADVALUE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
737  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
738 
739 /* B-tree related errors */
740 assert(H5E_NOTFOUND_g==(-1));
741 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object not found"))==NULL)
742  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
743 if((H5E_NOTFOUND_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
744  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
745 assert(H5E_EXISTS_g==(-1));
746 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
747  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
748 if((H5E_EXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
749  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
750 assert(H5E_CANTENCODE_g==(-1));
751 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to encode value"))==NULL)
752  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
753 if((H5E_CANTENCODE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
754  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
755 assert(H5E_CANTDECODE_g==(-1));
756 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decode value"))==NULL)
757  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
758 if((H5E_CANTDECODE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
759  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
760 assert(H5E_CANTSPLIT_g==(-1));
761 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to split node"))==NULL)
762  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
763 if((H5E_CANTSPLIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
764  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
766 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to redistribute records"))==NULL)
767  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
768 if((H5E_CANTREDISTRIBUTE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
769  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
770 assert(H5E_CANTSWAP_g==(-1));
771 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to swap records"))==NULL)
772  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
773 if((H5E_CANTSWAP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
774  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
775 assert(H5E_CANTINSERT_g==(-1));
776 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert object"))==NULL)
777  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
778 if((H5E_CANTINSERT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
779  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
780 assert(H5E_CANTLIST_g==(-1));
781 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to list node"))==NULL)
782  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
783 if((H5E_CANTLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
784  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
785 assert(H5E_CANTMODIFY_g==(-1));
786 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to modify record"))==NULL)
787  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
788 if((H5E_CANTMODIFY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
789  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
790 assert(H5E_CANTREMOVE_g==(-1));
791 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to remove object"))==NULL)
792  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
793 if((H5E_CANTREMOVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
794  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
795 
796 /* Datatype conversion errors */
798 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't convert datatypes"))==NULL)
799  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
800 if((H5E_CANTCONVERT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
801  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
802 assert(H5E_BADSIZE_g==(-1));
803 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad size for object"))==NULL)
804  HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
805 if((H5E_BADSIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
806  HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
807 
808 #endif /* H5Einit_H */
HDFFCLIBAPI intf intf intf * count
hid_t H5E_NLINKS_g
Definition: H5Edefin.h:172
hid_t H5E_BADSELECT_g
Definition: H5Edefin.h:187
hid_t H5E_CANTPIN_g
Definition: H5Edefin.h:163
int version
Definition: jpeglib.h:901
hid_t H5E_DUPCLASS_g
Definition: H5Edefin.h:92
hid_t H5E_CANTRESET_g
Definition: H5Edefin.h:108
hid_t H5E_BADITER_g
Definition: H5Edefin.h:106
#define FALSE
Definition: odldef.h:53
hid_t H5E_RESOURCE_g
Definition: H5Edefin.h:34
hid_t H5E_CANTGC_g
Definition: H5Edefin.h:72
HDFFCLIBAPI intf intf * release
hid_t H5E_NONE_MINOR_g
Definition: H5Edefin.h:129
hid_t H5E_NOTREGISTERED_g
Definition: H5Edefin.h:173
hid_t H5E_CANTMARKDIRTY_g
Definition: H5Edefin.h:165
hid_t H5E_UNSUPPORTED_g
Definition: H5Edefin.h:192
hid_t H5E_CLOSEERROR_g
Definition: H5Edefin.h:60
if((msg=H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL) if((H5E_DATASET_g
assert(H5E_DATASET_g==(-1))
hid_t H5E_TST_g
Definition: H5Edefin.h:47
hid_t H5E_VFL_g
Definition: H5Edefin.h:29
hid_t H5E_CANTSET_g
Definition: H5Edefin.h:91
hid_t H5E_CANTCLOSEOBJ_g
Definition: H5Edefin.h:124
hid_t H5E_COMPLEN_g
Definition: H5Edefin.h:125
hid_t H5E_PROTECT_g
Definition: H5Edefin.h:157
hid_t H5E_FILEEXISTS_g
Definition: H5Edefin.h:135
hid_t H5E_ALREADYEXISTS_g
Definition: H5Edefin.h:69
hid_t H5E_MPIERRSTR_g
Definition: H5Edefin.h:179
#define Free(ptr)
Definition: alloc.h:42
hid_t H5E_CACHE_g
Definition: H5Edefin.h:52
hid_t H5E_DATASET_g
Definition: H5Edefin.h:22
hid_t H5E_CANTINC_g
Definition: H5Edefin.h:149
hid_t H5E_WRITEERROR_g
Definition: H5Edefin.h:59
hid_t H5E_BADFILE_g
Definition: H5Edefin.h:141
hid_t H5E_NONE_MAJOR_g
Definition: H5Edefin.h:43
hid_t H5E_CANTLOCK_g
Definition: H5Edefin.h:70
hid_t H5E_CANTINIT_g
Definition: H5Edefin.h:85
hid_t H5E_RS_g
Definition: H5Edefin.h:38
hid_t H5E_DATATYPE_g
Definition: H5Edefin.h:37
hid_t H5E_CANTREVIVE_g
Definition: H5Edefin.h:97
hid_t H5E_CANTFLUSH_g
Definition: H5Edefin.h:154
hid_t H5E_BTREE_g
Definition: H5Edefin.h:31
hid_t H5E_TRAVERSE_g
Definition: H5Edefin.h:171
hid_t H5E_CANTSHRINK_g
Definition: H5Edefin.h:98
hid_t H5E_CANTUPDATE_g
Definition: H5Edefin.h:81
hid_t H5E_REFERENCE_g
Definition: H5Edefin.h:32
hid_t H5E_SETDISALLOWED_g
Definition: H5Edefin.h:93
hid_t H5E_NOFILTER_g
Definition: H5Edefin.h:115
hid_t H5E_BADSIZE_g
Definition: H5Edefin.h:212
hid_t H5E_FUNC_g
Definition: H5Edefin.h:23
hid_t H5E_CANTRELEASE_g
Definition: H5Edefin.h:87
hid_t H5E_CANTRENAME_g
Definition: H5Edefin.h:109
hid_t H5E_CANTUNPROTECT_g
Definition: H5Edefin.h:162
hid_t H5E_CANTCOMPARE_g
Definition: H5Edefin.h:188
hid_t H5E_CANTLOAD_g
Definition: H5Edefin.h:156
hid_t H5E_CANTPROTECT_g
Definition: H5Edefin.h:161
hid_t H5E_CANTDEC_g
Definition: H5Edefin.h:150
hid_t H5E_SYSERRSTR_g
Definition: H5Edefin.h:112
hid_t H5E_BADGROUP_g
Definition: H5Edefin.h:147
hid_t H5E_OHDR_g
Definition: H5Edefin.h:40
hid_t H5E_SEEKERROR_g
Definition: H5Edefin.h:57
hid_t H5E_OBJOPEN_g
Definition: H5Edefin.h:74
hid_t H5E_CANTINSERT_g
Definition: H5Edefin.h:205
hid_t H5E_SYSTEM_g
Definition: H5Edefin.h:159
hid_t H5E_CANTSELECT_g
Definition: H5Edefin.h:185
hid_t H5E_CANTOPENFILE_g
Definition: H5Edefin.h:138
hid_t H5E_MOUNT_g
Definition: H5Edefin.h:143
hid_t H5E_BADVALUE_g
Definition: H5Edefin.h:195
hid_t H5E_CANTGETSIZE_g
Definition: H5Edefin.h:73
hid_t H5E_CANTREGISTER_g
Definition: H5Edefin.h:148
hid_t H5E_READERROR_g
Definition: H5Edefin.h:58
hid_t H5E_CANTSORT_g
Definition: H5Edefin.h:175
hid_t H5E_CANTOPENOBJ_g
Definition: H5Edefin.h:123
hid_t H5E_CANTLIST_g
Definition: H5Edefin.h:206
hid_t H5E_VERSION_g
Definition: H5Edefin.h:102
hid_t H5E_INTERNAL_g
Definition: H5Edefin.h:30
HDFFCLIBAPI _fcd name
hid_t H5E_SOHM_g
Definition: H5Edefin.h:26
hid_t H5E_CANTRESIZE_g
Definition: H5Edefin.h:168
hid_t H5E_CANTMERGE_g
Definition: H5Edefin.h:96
hid_t H5E_CANTSPLIT_g
Definition: H5Edefin.h:202
hid_t H5E_CANTFREE_g
Definition: H5Edefin.h:68
hid_t H5E_STORAGE_g
Definition: H5Edefin.h:24
hid_t H5E_LINKCOUNT_g
Definition: H5Edefin.h:101
hid_t H5E_CANTSWAP_g
Definition: H5Edefin.h:204
hid_t H5E_CANTOPERATE_g
Definition: H5Edefin.h:82
hid_t H5E_ALIGNMENT_g
Definition: H5Edefin.h:103
#define H5E_CANTREGISTER
Definition: H5Epubgen.h:251
int jpeg_marker_parser_method routine
Definition: jpeglib.h:1011
hid_t H5E_CANTREDISTRIBUTE_g
Definition: H5Edefin.h:203
hid_t H5E_CANTEXPUNGE_g
Definition: H5Edefin.h:167
hid_t H5E_EXISTS_g
Definition: H5Edefin.h:199
HDFFCLIBAPI intf * size
hid_t H5E_DATASPACE_g
Definition: H5Edefin.h:33
hid_t H5E_CANTSERIALIZE_g
Definition: H5Edefin.h:155
hid_t H5E_CANTUNPIN_g
Definition: H5Edefin.h:164
hid_t H5E_CANTFILTER_g
Definition: H5Edefin.h:120
hid_t H5E_OPENERROR_g
Definition: H5Edefin.h:132
hid_t H5E_MPI_g
Definition: H5Edefin.h:178
hid_t H5E_CANTEXTEND_g
Definition: H5Edefin.h:79
hid_t H5E_ERROR_g
Definition: H5Edefin.h:49
hid_t H5E_NOTHDF5_g
Definition: H5Edefin.h:140
hid_t H5E_CANTGET_g
Definition: H5Edefin.h:90
hid_t H5E_CALLBACK_g
Definition: H5Edefin.h:116
hid_t H5E_ARGS_g
Definition: H5Edefin.h:48
hid_t H5E_CANTENCODE_g
Definition: H5Edefin.h:200
hid_t H5E_CANTMOVE_g
Definition: H5Edefin.h:174
hid_t H5E_ATOM_g
Definition: H5Edefin.h:41
hid_t H5E_BADATOM_g
Definition: H5Edefin.h:146
hid_t H5E_SLIST_g
Definition: H5Edefin.h:45
hid_t H5E_PLIST_g
Definition: H5Edefin.h:35
hid_t H5E_NOTFOUND_g
Definition: H5Edefin.h:198
hid_t H5E_CANTUNLOCK_g
Definition: H5Edefin.h:71
hid_t H5E_CANTCREATE_g
Definition: H5Edefin.h:137
hid_t H5E_CANTRECV_g
Definition: H5Edefin.h:180
hid_t H5E_UNINITIALIZED_g
Definition: H5Edefin.h:191
hid_t H5E_ATTR_g
Definition: H5Edefin.h:42
hid_t H5E_ALREADYINIT_g
Definition: H5Edefin.h:86
hid_t H5E_HEAP_g
Definition: H5Edefin.h:39
hid_t H5E_FSPACE_g
Definition: H5Edefin.h:51
hid_t H5E_CANTCOUNT_g
Definition: H5Edefin.h:184
#define H5E_CANTINIT
Definition: H5Epubgen.h:147
hid_t H5E_CANTATTACH_g
Definition: H5Edefin.h:80
hid_t H5E_TRUNCATED_g
Definition: H5Edefin.h:142
HDFFCLIBAPI void * data
hid_t H5E_CANTALLOC_g
Definition: H5Edefin.h:66
HDFFCLIBAPI intf intf intf * type
hid_t H5E_CANTDIRTY_g
Definition: H5Edefin.h:166
hid_t H5E_BADMESG_g
Definition: H5Edefin.h:104
hid_t H5E_FILE_g
Definition: H5Edefin.h:25
#define H5E_ERROR
Definition: H5Epubgen.h:56
hid_t H5E_NOSPACE_g
Definition: H5Edefin.h:65
hid_t H5E_CANTCOPY_g
Definition: H5Edefin.h:67
hid_t H5E_CANTPACK_g
Definition: H5Edefin.h:107
hid_t H5E_BADTYPE_g
Definition: H5Edefin.h:193
hid_t H5E_NOENCODER_g
Definition: H5Edefin.h:119
hid_t H5E_NOTCACHED_g
Definition: H5Edefin.h:158
hid_t H5E_CANTREMOVE_g
Definition: H5Edefin.h:208
hid_t H5E_CANTCLOSEFILE_g
Definition: H5Edefin.h:139
hid_t H5E_CANTDELETE_g
Definition: H5Edefin.h:105
hid_t H5E_CANTNEXT_g
Definition: H5Edefin.h:186
hid_t H5E_CANTMODIFY_g
Definition: H5Edefin.h:207
#define HGOTO_ERROR(err, ret_val)
Definition: herr.h:60
hid_t H5E_CANTDECODE_g
Definition: H5Edefin.h:201
hid_t H5E_CANAPPLY_g
Definition: H5Edefin.h:117
hid_t H5E_FCNTL_g
Definition: H5Edefin.h:62
hid_t H5E_EFL_g
Definition: H5Edefin.h:46
hid_t H5E_CANTCONVERT_g
Definition: H5Edefin.h:211
hid_t H5E_SYM_g
Definition: H5Edefin.h:27
hid_t H5E_CANTCOMPUTE_g
Definition: H5Edefin.h:78
hid_t H5E_LINK_g
Definition: H5Edefin.h:36
hid_t H5E_BADRANGE_g
Definition: H5Edefin.h:194
hid_t H5E_PLUGIN_g
Definition: H5Edefin.h:28
hid_t H5E_PATH_g
Definition: H5Edefin.h:126
hid_t H5E_PLINE_g
Definition: H5Edefin.h:50
hid_t H5E_IO_g
Definition: H5Edefin.h:44
hid_t H5E_NOIDS_g
Definition: H5Edefin.h:151
hid_t H5E_CANTCLIP_g
Definition: H5Edefin.h:183
hid_t H5E_OVERFLOW_g
Definition: H5Edefin.h:61
hid_t H5E_FILEOPEN_g
Definition: H5Edefin.h:136
hid_t H5E_SETLOCAL_g
Definition: H5Edefin.h:118
#define FAIL
Definition: hdf.h:94
hid_t H5E_CANTRESTORE_g
Definition: H5Edefin.h:77
hid_t H5E_CANTINS_g
Definition: H5Edefin.h:160

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52