H5Einit.h

00001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00002  * Copyright by The HDF Group.                                               *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00013  * access to either file, you may request a copy from help@hdfgroup.org.     *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 /* Generated automatically by bin/make_err -- do not edit */
00017 /* Add new errors to H5err.txt file */
00018 
00019 
00020 #ifndef _H5Einit_H
00021 #define _H5Einit_H
00022 
00023 /*********************/
00024 /* Major error codes */
00025 /*********************/
00026 
00027 assert(H5E_DATASET_g==(-1));
00028 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL)
00029     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00030 if((H5E_DATASET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00031     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00032 assert(H5E_FUNC_g==(-1));
00033 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Function entry/exit"))==NULL)
00034     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00035 if((H5E_FUNC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00036     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00037 assert(H5E_STORAGE_g==(-1));
00038 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data storage"))==NULL)
00039     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00040 if((H5E_STORAGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00041     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00042 assert(H5E_FILE_g==(-1));
00043 if((msg = H5E_create_msg(cls, H5E_MAJOR, "File accessability"))==NULL)
00044     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00045 if((H5E_FILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00046     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00047 assert(H5E_SOHM_g==(-1));
00048 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Shared Object Header Messages"))==NULL)
00049     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00050 if((H5E_SOHM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00051     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00052 assert(H5E_SYM_g==(-1));
00053 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Symbol table"))==NULL)
00054     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00055 if((H5E_SYM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00056     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00057 assert(H5E_VFL_g==(-1));
00058 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual File Layer"))==NULL)
00059     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00060 if((H5E_VFL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00061     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00062 assert(H5E_INTERNAL_g==(-1));
00063 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Internal error (too specific to document in detail)"))==NULL)
00064     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00065 if((H5E_INTERNAL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00066     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00067 assert(H5E_BTREE_g==(-1));
00068 if((msg = H5E_create_msg(cls, H5E_MAJOR, "B-Tree node"))==NULL)
00069     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00070 if((H5E_BTREE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00071     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00072 assert(H5E_REFERENCE_g==(-1));
00073 if((msg = H5E_create_msg(cls, H5E_MAJOR, "References"))==NULL)
00074     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00075 if((H5E_REFERENCE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00076     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00077 assert(H5E_DATASPACE_g==(-1));
00078 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataspace"))==NULL)
00079     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00080 if((H5E_DATASPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00081     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00082 assert(H5E_RESOURCE_g==(-1));
00083 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Resource unavailable"))==NULL)
00084     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00085 if((H5E_RESOURCE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00086     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00087 assert(H5E_PLIST_g==(-1));
00088 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Property lists"))==NULL)
00089     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00090 if((H5E_PLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00091     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00092 assert(H5E_LINK_g==(-1));
00093 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Links"))==NULL)
00094     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00095 if((H5E_LINK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00096     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00097 assert(H5E_DATATYPE_g==(-1));
00098 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Datatype"))==NULL)
00099     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00100 if((H5E_DATATYPE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00101     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00102 assert(H5E_RS_g==(-1));
00103 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Reference Counted Strings"))==NULL)
00104     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00105 if((H5E_RS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00106     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00107 assert(H5E_HEAP_g==(-1));
00108 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Heap"))==NULL)
00109     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00110 if((H5E_HEAP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00111     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00112 assert(H5E_OHDR_g==(-1));
00113 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object header"))==NULL)
00114     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00115 if((H5E_OHDR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00116     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00117 assert(H5E_ATOM_g==(-1));
00118 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object atom"))==NULL)
00119     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00120 if((H5E_ATOM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00121     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00122 assert(H5E_ATTR_g==(-1));
00123 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Attribute"))==NULL)
00124     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00125 if((H5E_ATTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00126     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00127 assert(H5E_NONE_MAJOR_g==(-1));
00128 if((msg = H5E_create_msg(cls, H5E_MAJOR, "No error"))==NULL)
00129     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00130 if((H5E_NONE_MAJOR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00131     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00132 assert(H5E_IO_g==(-1));
00133 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Low-level I/O"))==NULL)
00134     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00135 if((H5E_IO_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00136     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00137 assert(H5E_SLIST_g==(-1));
00138 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Skip Lists"))==NULL)
00139     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00140 if((H5E_SLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00141     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00142 assert(H5E_EFL_g==(-1));
00143 if((msg = H5E_create_msg(cls, H5E_MAJOR, "External file list"))==NULL)
00144     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00145 if((H5E_EFL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00146     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00147 assert(H5E_TST_g==(-1));
00148 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Ternary Search Trees"))==NULL)
00149     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00150 if((H5E_TST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00151     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00152 assert(H5E_ARGS_g==(-1));
00153 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Invalid arguments to routine"))==NULL)
00154     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00155 if((H5E_ARGS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00156     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00157 assert(H5E_ERROR_g==(-1));
00158 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Error API"))==NULL)
00159     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00160 if((H5E_ERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00161     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00162 assert(H5E_PLINE_g==(-1));
00163 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data filters"))==NULL)
00164     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00165 if((H5E_PLINE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00166     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00167 assert(H5E_FSPACE_g==(-1));
00168 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Free Space Manager"))==NULL)
00169     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00170 if((H5E_FSPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00171     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00172 assert(H5E_CACHE_g==(-1));
00173 if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object cache"))==NULL)
00174     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00175 if((H5E_CACHE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00176     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00177 
00178 /*********************/
00179 /* Minor error codes */
00180 /*********************/
00181 
00182 
00183 /* Generic low-level file I/O errors */
00184 assert(H5E_SEEKERROR_g==(-1));
00185 if((msg = H5E_create_msg(cls, H5E_MINOR, "Seek failed"))==NULL)
00186     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00187 if((H5E_SEEKERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00188     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00189 assert(H5E_READERROR_g==(-1));
00190 if((msg = H5E_create_msg(cls, H5E_MINOR, "Read failed"))==NULL)
00191     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00192 if((H5E_READERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00193     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00194 assert(H5E_WRITEERROR_g==(-1));
00195 if((msg = H5E_create_msg(cls, H5E_MINOR, "Write failed"))==NULL)
00196     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00197 if((H5E_WRITEERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00198     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00199 assert(H5E_CLOSEERROR_g==(-1));
00200 if((msg = H5E_create_msg(cls, H5E_MINOR, "Close failed"))==NULL)
00201     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00202 if((H5E_CLOSEERROR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00203     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00204 assert(H5E_OVERFLOW_g==(-1));
00205 if((msg = H5E_create_msg(cls, H5E_MINOR, "Address overflowed"))==NULL)
00206     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00207 if((H5E_OVERFLOW_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00208     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00209 assert(H5E_FCNTL_g==(-1));
00210 if((msg = H5E_create_msg(cls, H5E_MINOR, "File control (fcntl) failed"))==NULL)
00211     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00212 if((H5E_FCNTL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00213     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00214 
00215 /* Resource errors */
00216 assert(H5E_NOSPACE_g==(-1));
00217 if((msg = H5E_create_msg(cls, H5E_MINOR, "No space available for allocation"))==NULL)
00218     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00219 if((H5E_NOSPACE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00220     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00221 assert(H5E_CANTALLOC_g==(-1));
00222 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't allocate space"))==NULL)
00223     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00224 if((H5E_CANTALLOC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00225     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00226 assert(H5E_CANTCOPY_g==(-1));
00227 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to copy object"))==NULL)
00228     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00229 if((H5E_CANTCOPY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00230     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00231 assert(H5E_CANTFREE_g==(-1));
00232 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to free object"))==NULL)
00233     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00234 if((H5E_CANTFREE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00235     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00236 assert(H5E_ALREADYEXISTS_g==(-1));
00237 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
00238     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00239 if((H5E_ALREADYEXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00240     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00241 assert(H5E_CANTLOCK_g==(-1));
00242 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to lock object"))==NULL)
00243     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00244 if((H5E_CANTLOCK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00245     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00246 assert(H5E_CANTUNLOCK_g==(-1));
00247 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unlock object"))==NULL)
00248     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00249 if((H5E_CANTUNLOCK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00250     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00251 assert(H5E_CANTGC_g==(-1));
00252 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to garbage collect"))==NULL)
00253     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00254 if((H5E_CANTGC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00255     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00256 assert(H5E_CANTGETSIZE_g==(-1));
00257 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to compute size"))==NULL)
00258     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00259 if((H5E_CANTGETSIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00260     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00261 assert(H5E_OBJOPEN_g==(-1));
00262 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object is already open"))==NULL)
00263     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00264 if((H5E_OBJOPEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00265     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00266 
00267 /* Heap errors */
00268 assert(H5E_CANTRESTORE_g==(-1));
00269 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't restore condition"))==NULL)
00270     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00271 if((H5E_CANTRESTORE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00272     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00273 assert(H5E_CANTCOMPUTE_g==(-1));
00274 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compute value"))==NULL)
00275     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00276 if((H5E_CANTCOMPUTE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00277     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00278 assert(H5E_CANTEXTEND_g==(-1));
00279 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't extend heap's space"))==NULL)
00280     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00281 if((H5E_CANTEXTEND_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00282     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00283 assert(H5E_CANTATTACH_g==(-1));
00284 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't attach object"))==NULL)
00285     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00286 if((H5E_CANTATTACH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00287     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00288 assert(H5E_CANTUPDATE_g==(-1));
00289 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't update object"))==NULL)
00290     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00291 if((H5E_CANTUPDATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00292     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00293 assert(H5E_CANTOPERATE_g==(-1));
00294 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't operate on object"))==NULL)
00295     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00296 if((H5E_CANTOPERATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00297     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00298 
00299 /* Function entry/exit interface errors */
00300 assert(H5E_CANTINIT_g==(-1));
00301 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to initialize object"))==NULL)
00302     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00303 if((H5E_CANTINIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00304     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00305 assert(H5E_ALREADYINIT_g==(-1));
00306 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already initialized"))==NULL)
00307     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00308 if((H5E_ALREADYINIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00309     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00310 assert(H5E_CANTRELEASE_g==(-1));
00311 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to release object"))==NULL)
00312     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00313 if((H5E_CANTRELEASE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00314     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00315 
00316 /* Property list errors */
00317 assert(H5E_CANTGET_g==(-1));
00318 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't get value"))==NULL)
00319     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00320 if((H5E_CANTGET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00321     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00322 assert(H5E_CANTSET_g==(-1));
00323 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't set value"))==NULL)
00324     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00325 if((H5E_CANTSET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00326     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00327 assert(H5E_DUPCLASS_g==(-1));
00328 if((msg = H5E_create_msg(cls, H5E_MINOR, "Duplicate class name in parent class"))==NULL)
00329     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00330 if((H5E_DUPCLASS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00331     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00332 
00333 /* Free space errors */
00334 assert(H5E_CANTMERGE_g==(-1));
00335 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't merge objects"))==NULL)
00336     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00337 if((H5E_CANTMERGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00338     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00339 assert(H5E_CANTREVIVE_g==(-1));
00340 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't revive object"))==NULL)
00341     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00342 if((H5E_CANTREVIVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00343     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00344 assert(H5E_CANTSHRINK_g==(-1));
00345 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't shrink container"))==NULL)
00346     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00347 if((H5E_CANTSHRINK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00348     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00349 
00350 /* Object header related errors */
00351 assert(H5E_LINKCOUNT_g==(-1));
00352 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad object header link count"))==NULL)
00353     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00354 if((H5E_LINKCOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00355     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00356 assert(H5E_VERSION_g==(-1));
00357 if((msg = H5E_create_msg(cls, H5E_MINOR, "Wrong version number"))==NULL)
00358     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00359 if((H5E_VERSION_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00360     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00361 assert(H5E_ALIGNMENT_g==(-1));
00362 if((msg = H5E_create_msg(cls, H5E_MINOR, "Alignment error"))==NULL)
00363     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00364 if((H5E_ALIGNMENT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00365     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00366 assert(H5E_BADMESG_g==(-1));
00367 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unrecognized message"))==NULL)
00368     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00369 if((H5E_BADMESG_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00370     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00371 assert(H5E_CANTDELETE_g==(-1));
00372 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't delete message"))==NULL)
00373     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00374 if((H5E_CANTDELETE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00375     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00376 assert(H5E_BADITER_g==(-1));
00377 if((msg = H5E_create_msg(cls, H5E_MINOR, "Iteration failed"))==NULL)
00378     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00379 if((H5E_BADITER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00380     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00381 assert(H5E_CANTPACK_g==(-1));
00382 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't pack messages"))==NULL)
00383     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00384 if((H5E_CANTPACK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00385     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00386 assert(H5E_CANTRESET_g==(-1));
00387 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't reset object"))==NULL)
00388     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00389 if((H5E_CANTRESET_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00390     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00391 
00392 /* System level errors */
00393 assert(H5E_SYSERRSTR_g==(-1));
00394 if((msg = H5E_create_msg(cls, H5E_MINOR, "System error message"))==NULL)
00395     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00396 if((H5E_SYSERRSTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00397     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00398 
00399 /* I/O pipeline errors */
00400 assert(H5E_NOFILTER_g==(-1));
00401 if((msg = H5E_create_msg(cls, H5E_MINOR, "Requested filter is not available"))==NULL)
00402     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00403 if((H5E_NOFILTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00404     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00405 assert(H5E_CALLBACK_g==(-1));
00406 if((msg = H5E_create_msg(cls, H5E_MINOR, "Callback failed"))==NULL)
00407     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00408 if((H5E_CALLBACK_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00409     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00410 assert(H5E_CANAPPLY_g==(-1));
00411 if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'can apply' callback"))==NULL)
00412     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00413 if((H5E_CANAPPLY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00414     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00415 assert(H5E_SETLOCAL_g==(-1));
00416 if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'set local' callback"))==NULL)
00417     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00418 if((H5E_SETLOCAL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00419     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00420 assert(H5E_NOENCODER_g==(-1));
00421 if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter present but encoding disabled"))==NULL)
00422     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00423 if((H5E_NOENCODER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00424     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00425 assert(H5E_CANTFILTER_g==(-1));
00426 if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter operation failed"))==NULL)
00427     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00428 if((H5E_CANTFILTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00429     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00430 
00431 /* Group related errors */
00432 assert(H5E_CANTOPENOBJ_g==(-1));
00433 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open object"))==NULL)
00434     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00435 if((H5E_CANTOPENOBJ_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00436     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00437 assert(H5E_CANTCLOSEOBJ_g==(-1));
00438 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't close object"))==NULL)
00439     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00440 if((H5E_CANTCLOSEOBJ_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00441     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00442 assert(H5E_COMPLEN_g==(-1));
00443 if((msg = H5E_create_msg(cls, H5E_MINOR, "Name component is too long"))==NULL)
00444     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00445 if((H5E_COMPLEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00446     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00447 assert(H5E_PATH_g==(-1));
00448 if((msg = H5E_create_msg(cls, H5E_MINOR, "Problem with path to object"))==NULL)
00449     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00450 if((H5E_PATH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00451     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00452 
00453 /* No error */
00454 assert(H5E_NONE_MINOR_g==(-1));
00455 if((msg = H5E_create_msg(cls, H5E_MINOR, "No error"))==NULL)
00456     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00457 if((H5E_NONE_MINOR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00458     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00459 
00460 /* File accessability errors */
00461 assert(H5E_FILEEXISTS_g==(-1));
00462 if((msg = H5E_create_msg(cls, H5E_MINOR, "File already exists"))==NULL)
00463     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00464 if((H5E_FILEEXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00465     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00466 assert(H5E_FILEOPEN_g==(-1));
00467 if((msg = H5E_create_msg(cls, H5E_MINOR, "File already open"))==NULL)
00468     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00469 if((H5E_FILEOPEN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00470     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00471 assert(H5E_CANTCREATE_g==(-1));
00472 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to create file"))==NULL)
00473     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00474 if((H5E_CANTCREATE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00475     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00476 assert(H5E_CANTOPENFILE_g==(-1));
00477 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to open file"))==NULL)
00478     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00479 if((H5E_CANTOPENFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00480     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00481 assert(H5E_CANTCLOSEFILE_g==(-1));
00482 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to close file"))==NULL)
00483     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00484 if((H5E_CANTCLOSEFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00485     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00486 assert(H5E_NOTHDF5_g==(-1));
00487 if((msg = H5E_create_msg(cls, H5E_MINOR, "Not an HDF5 file"))==NULL)
00488     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00489 if((H5E_NOTHDF5_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00490     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00491 assert(H5E_BADFILE_g==(-1));
00492 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad file ID accessed"))==NULL)
00493     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00494 if((H5E_BADFILE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00495     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00496 assert(H5E_TRUNCATED_g==(-1));
00497 if((msg = H5E_create_msg(cls, H5E_MINOR, "File has been truncated"))==NULL)
00498     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00499 if((H5E_TRUNCATED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00500     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00501 assert(H5E_MOUNT_g==(-1));
00502 if((msg = H5E_create_msg(cls, H5E_MINOR, "File mount error"))==NULL)
00503     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00504 if((H5E_MOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00505     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00506 
00507 /* Object atom related errors */
00508 assert(H5E_BADATOM_g==(-1));
00509 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to find atom information (already closed?)"))==NULL)
00510     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00511 if((H5E_BADATOM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00512     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00513 assert(H5E_BADGROUP_g==(-1));
00514 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to find ID group information"))==NULL)
00515     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00516 if((H5E_BADGROUP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00517     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00518 assert(H5E_CANTREGISTER_g==(-1));
00519 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to register new atom"))==NULL)
00520     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00521 if((H5E_CANTREGISTER_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00522     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00523 assert(H5E_CANTINC_g==(-1));
00524 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to increment reference count"))==NULL)
00525     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00526 if((H5E_CANTINC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00527     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00528 assert(H5E_CANTDEC_g==(-1));
00529 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decrement reference count"))==NULL)
00530     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00531 if((H5E_CANTDEC_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00532     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00533 assert(H5E_NOIDS_g==(-1));
00534 if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of IDs for group"))==NULL)
00535     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00536 if((H5E_NOIDS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00537     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00538 
00539 /* Cache related errors */
00540 assert(H5E_CANTFLUSH_g==(-1));
00541 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to flush data from cache"))==NULL)
00542     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00543 if((H5E_CANTFLUSH_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00544     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00545 assert(H5E_CANTSERIALIZE_g==(-1));
00546 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to serialize data from cache"))==NULL)
00547     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00548 if((H5E_CANTSERIALIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00549     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00550 assert(H5E_CANTLOAD_g==(-1));
00551 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to load metadata into cache"))==NULL)
00552     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00553 if((H5E_CANTLOAD_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00554     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00555 assert(H5E_PROTECT_g==(-1));
00556 if((msg = H5E_create_msg(cls, H5E_MINOR, "Protected metadata error"))==NULL)
00557     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00558 if((H5E_PROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00559     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00560 assert(H5E_NOTCACHED_g==(-1));
00561 if((msg = H5E_create_msg(cls, H5E_MINOR, "Metadata not currently cached"))==NULL)
00562     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00563 if((H5E_NOTCACHED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00564     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00565 assert(H5E_SYSTEM_g==(-1));
00566 if((msg = H5E_create_msg(cls, H5E_MINOR, "Internal error detected"))==NULL)
00567     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00568 if((H5E_SYSTEM_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00569     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00570 assert(H5E_CANTINS_g==(-1));
00571 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert metadata into cache"))==NULL)
00572     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00573 if((H5E_CANTINS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00574     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00575 assert(H5E_CANTRENAME_g==(-1));
00576 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to rename metadata"))==NULL)
00577     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00578 if((H5E_CANTRENAME_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00579     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00580 assert(H5E_CANTPROTECT_g==(-1));
00581 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to protect metadata"))==NULL)
00582     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00583 if((H5E_CANTPROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00584     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00585 assert(H5E_CANTUNPROTECT_g==(-1));
00586 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unprotect metadata"))==NULL)
00587     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00588 if((H5E_CANTUNPROTECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00589     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00590 assert(H5E_CANTPIN_g==(-1));
00591 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to pin cache entry"))==NULL)
00592     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00593 if((H5E_CANTPIN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00594     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00595 assert(H5E_CANTUNPIN_g==(-1));
00596 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to un-pin cache entry"))==NULL)
00597     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00598 if((H5E_CANTUNPIN_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00599     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00600 assert(H5E_CANTMARKDIRTY_g==(-1));
00601 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to mark a pinned entry as dirty"))==NULL)
00602     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00603 if((H5E_CANTMARKDIRTY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00604     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00605 assert(H5E_CANTDIRTY_g==(-1));
00606 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to mark metadata as dirty"))==NULL)
00607     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00608 if((H5E_CANTDIRTY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00609     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00610 assert(H5E_CANTEXPUNGE_g==(-1));
00611 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to expunge a metadata cache entry"))==NULL)
00612     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00613 if((H5E_CANTEXPUNGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00614     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00615 assert(H5E_CANTRESIZE_g==(-1));
00616 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to resize a metadata cache entry"))==NULL)
00617     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00618 if((H5E_CANTRESIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00619     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00620 
00621 /* Link related errors */
00622 assert(H5E_TRAVERSE_g==(-1));
00623 if((msg = H5E_create_msg(cls, H5E_MINOR, "Link traversal failure"))==NULL)
00624     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00625 if((H5E_TRAVERSE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00626     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00627 assert(H5E_NLINKS_g==(-1));
00628 if((msg = H5E_create_msg(cls, H5E_MINOR, "Too many soft links in path"))==NULL)
00629     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00630 if((H5E_NLINKS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00631     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00632 assert(H5E_NOTREGISTERED_g==(-1));
00633 if((msg = H5E_create_msg(cls, H5E_MINOR, "Link class not registered"))==NULL)
00634     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00635 if((H5E_NOTREGISTERED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00636     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00637 assert(H5E_CANTMOVE_g==(-1));
00638 if((msg = H5E_create_msg(cls, H5E_MINOR, "Move callback returned error"))==NULL)
00639     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00640 if((H5E_CANTMOVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00641     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00642 assert(H5E_CANTSORT_g==(-1));
00643 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't sort objects"))==NULL)
00644     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00645 if((H5E_CANTSORT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00646     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00647 
00648 /* Parallel MPI errors */
00649 assert(H5E_MPI_g==(-1));
00650 if((msg = H5E_create_msg(cls, H5E_MINOR, "Some MPI function failed"))==NULL)
00651     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00652 if((H5E_MPI_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00653     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00654 assert(H5E_MPIERRSTR_g==(-1));
00655 if((msg = H5E_create_msg(cls, H5E_MINOR, "MPI Error String"))==NULL)
00656     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00657 if((H5E_MPIERRSTR_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00658     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00659 assert(H5E_CANTRECV_g==(-1));
00660 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't receive data"))==NULL)
00661     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00662 if((H5E_CANTRECV_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00663     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00664 
00665 /* Dataspace errors */
00666 assert(H5E_CANTCLIP_g==(-1));
00667 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't clip hyperslab region"))==NULL)
00668     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00669 if((H5E_CANTCLIP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00670     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00671 assert(H5E_CANTCOUNT_g==(-1));
00672 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't count elements"))==NULL)
00673     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00674 if((H5E_CANTCOUNT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00675     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00676 assert(H5E_CANTSELECT_g==(-1));
00677 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't select hyperslab"))==NULL)
00678     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00679 if((H5E_CANTSELECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00680     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00681 assert(H5E_CANTNEXT_g==(-1));
00682 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't move to next iterator location"))==NULL)
00683     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00684 if((H5E_CANTNEXT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00685     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00686 assert(H5E_BADSELECT_g==(-1));
00687 if((msg = H5E_create_msg(cls, H5E_MINOR, "Invalid selection"))==NULL)
00688     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00689 if((H5E_BADSELECT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00690     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00691 assert(H5E_CANTCOMPARE_g==(-1));
00692 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compare objects"))==NULL)
00693     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00694 if((H5E_CANTCOMPARE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00695     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00696 
00697 /* Argument errors */
00698 assert(H5E_UNINITIALIZED_g==(-1));
00699 if((msg = H5E_create_msg(cls, H5E_MINOR, "Information is uinitialized"))==NULL)
00700     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00701 if((H5E_UNINITIALIZED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00702     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00703 assert(H5E_UNSUPPORTED_g==(-1));
00704 if((msg = H5E_create_msg(cls, H5E_MINOR, "Feature is unsupported"))==NULL)
00705     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00706 if((H5E_UNSUPPORTED_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00707     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00708 assert(H5E_BADTYPE_g==(-1));
00709 if((msg = H5E_create_msg(cls, H5E_MINOR, "Inappropriate type"))==NULL)
00710     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00711 if((H5E_BADTYPE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00712     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00713 assert(H5E_BADRANGE_g==(-1));
00714 if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of range"))==NULL)
00715     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00716 if((H5E_BADRANGE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00717     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00718 assert(H5E_BADVALUE_g==(-1));
00719 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad value"))==NULL)
00720     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00721 if((H5E_BADVALUE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00722     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00723 
00724 /* B-tree related errors */
00725 assert(H5E_NOTFOUND_g==(-1));
00726 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object not found"))==NULL)
00727     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00728 if((H5E_NOTFOUND_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00729     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00730 assert(H5E_EXISTS_g==(-1));
00731 if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
00732     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00733 if((H5E_EXISTS_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00734     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00735 assert(H5E_CANTENCODE_g==(-1));
00736 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to encode value"))==NULL)
00737     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00738 if((H5E_CANTENCODE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00739     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00740 assert(H5E_CANTDECODE_g==(-1));
00741 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decode value"))==NULL)
00742     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00743 if((H5E_CANTDECODE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00744     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00745 assert(H5E_CANTSPLIT_g==(-1));
00746 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to split node"))==NULL)
00747     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00748 if((H5E_CANTSPLIT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00749     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00750 assert(H5E_CANTREDISTRIBUTE_g==(-1));
00751 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to redistribute records"))==NULL)
00752     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00753 if((H5E_CANTREDISTRIBUTE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00754     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00755 assert(H5E_CANTSWAP_g==(-1));
00756 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to swap records"))==NULL)
00757     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00758 if((H5E_CANTSWAP_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00759     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00760 assert(H5E_CANTINSERT_g==(-1));
00761 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert object"))==NULL)
00762     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00763 if((H5E_CANTINSERT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00764     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00765 assert(H5E_CANTLIST_g==(-1));
00766 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to list node"))==NULL)
00767     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00768 if((H5E_CANTLIST_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00769     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00770 assert(H5E_CANTMODIFY_g==(-1));
00771 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to modify record"))==NULL)
00772     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00773 if((H5E_CANTMODIFY_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00774     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00775 assert(H5E_CANTREMOVE_g==(-1));
00776 if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to remove object"))==NULL)
00777     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00778 if((H5E_CANTREMOVE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00779     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00780 
00781 /* Datatype conversion errors */
00782 assert(H5E_CANTCONVERT_g==(-1));
00783 if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't convert datatypes"))==NULL)
00784     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00785 if((H5E_CANTCONVERT_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00786     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00787 assert(H5E_BADSIZE_g==(-1));
00788 if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad size for object"))==NULL)
00789     HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
00790 if((H5E_BADSIZE_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
00791     HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
00792 
00793 #endif /* H5Einit_H */