mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r9655] Snapshot version 1.7 release 44
This commit is contained in:
parent
f558ddfb18
commit
d15fc28874
@ -1,4 +1,4 @@
|
||||
HDF5 version 1.7.44 currently under development
|
||||
HDF5 version 1.7.45 currently under development
|
||||
Please refer to the release_docs/INSTALL file for installation instructions.
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
18
configure
vendored
18
configure
vendored
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in.
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.53 for HDF5 1.7.44.
|
||||
# Generated by GNU Autoconf 2.53 for HDF5 1.7.45.
|
||||
#
|
||||
# Report bugs to <hdfhelp@ncsa.uiuc.edu>.
|
||||
#
|
||||
@ -416,8 +416,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='HDF5'
|
||||
PACKAGE_TARNAME='hdf5'
|
||||
PACKAGE_VERSION='1.7.44'
|
||||
PACKAGE_STRING='HDF5 1.7.44'
|
||||
PACKAGE_VERSION='1.7.45'
|
||||
PACKAGE_STRING='HDF5 1.7.45'
|
||||
PACKAGE_BUGREPORT='hdfhelp@ncsa.uiuc.edu'
|
||||
|
||||
ac_unique_file="src/H5.c"
|
||||
@ -935,7 +935,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures HDF5 1.7.44 to adapt to many kinds of systems.
|
||||
\`configure' configures HDF5 1.7.45 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@ -996,7 +996,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of HDF5 1.7.44:";;
|
||||
short | recursive ) echo "Configuration of HDF5 1.7.45:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@ -1147,7 +1147,7 @@ fi
|
||||
test -n "$ac_init_help" && exit 0
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
HDF5 configure 1.7.44
|
||||
HDF5 configure 1.7.45
|
||||
generated by GNU Autoconf 2.53
|
||||
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
||||
@ -1162,7 +1162,7 @@ cat >&5 <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by HDF5 $as_me 1.7.44, which was
|
||||
It was created by HDF5 $as_me 1.7.45, which was
|
||||
generated by GNU Autoconf 2.53. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@ -34364,7 +34364,7 @@ _ASBOX
|
||||
} >&5
|
||||
cat >&5 <<_CSEOF
|
||||
|
||||
This file was extended by HDF5 $as_me 1.7.44, which was
|
||||
This file was extended by HDF5 $as_me 1.7.45, which was
|
||||
generated by GNU Autoconf 2.53. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@ -34426,7 +34426,7 @@ _ACEOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<_ACEOF
|
||||
ac_cs_version="\\
|
||||
HDF5 config.status 1.7.44
|
||||
HDF5 config.status 1.7.45
|
||||
configured by $0, generated by GNU Autoconf 2.53,
|
||||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
||||
|
||||
|
@ -25,7 +25,7 @@ dnl
|
||||
dnl NOTE: Don't forget to change the version number here when we do a
|
||||
dnl release!!!
|
||||
dnl
|
||||
AC_INIT([HDF5], [1.7.44], [hdfhelp@ncsa.uiuc.edu])
|
||||
AC_INIT([HDF5], [1.7.45], [hdfhelp@ncsa.uiuc.edu])
|
||||
AC_CONFIG_SRCDIR([src/H5.c])
|
||||
AC_CONFIG_HEADER([src/H5config.h])
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
HDF5 version 1.7.43 released on Sun Dec 5 03:51:33 CST 2004
|
||||
HDF5 version 1.7.44 released on Sun Dec 12 03:42:12 CST 2004
|
||||
================================================================================
|
||||
|
||||
|
||||
@ -36,6 +36,9 @@ New Features
|
||||
|
||||
Configuration:
|
||||
--------------
|
||||
- Intel v8.0 compiler would infinite loop when compiling some test
|
||||
code with -O3 option. Changed enable-production default compiler
|
||||
option to -O2. AKC - 2004/12/06
|
||||
- Long double is assumed to be a supported C data type. It is a
|
||||
stanadard C89 type. AKC - 2004/10/22
|
||||
- The IA64 will use ecc as the C++ compiler by default.
|
||||
@ -574,6 +577,17 @@ Linux 2.4 IA64 Intel y n y n y y y
|
||||
|
||||
Known Problems
|
||||
==============
|
||||
* On IBM AIX systems, parallel HDF5 mode will fail some tests with error
|
||||
messages like "INFO: 0031-XXX ...". This is from the command poe.
|
||||
Set the environment variable MP_INFOLEVEL to 0 to minimize the messages
|
||||
and run the tests again.
|
||||
The tests may fail with messages like "The socket name is already
|
||||
in use". HDF5 does not use sockets (except for stream-VFD). This is
|
||||
due to problems of the poe command trying to set up the debug socket.
|
||||
Check if there are many old /tmp/s.pedb.* staying around. These are
|
||||
sockets used by the poe command and left behind due to failed commands.
|
||||
Ask your system administrator to clean them out. Lastly, request IBM
|
||||
to provide a mean to run poe without the debug socket.
|
||||
|
||||
* PGI C++ compiler fails when compiling the C++ library's tests.
|
||||
Therefore, we cannot verify that the C++ library built with the PGI C++
|
||||
|
@ -1,4 +1,4 @@
|
||||
HDF5 version 1.7.44 currently under development
|
||||
HDF5 version 1.7.45 currently under development
|
||||
================================================================================
|
||||
|
||||
|
||||
|
208
src/H5Edefin.h
208
src/H5Edefin.h
@ -20,40 +20,37 @@
|
||||
#define _H5Edefin_H
|
||||
|
||||
/* Major error IDs */
|
||||
hid_t H5E_DATASET_g = FAIL; /* Dataset */
|
||||
hid_t H5E_FUNC_g = FAIL; /* Function entry/exit */
|
||||
hid_t H5E_STORAGE_g = FAIL; /* Data storage */
|
||||
hid_t H5E_FILE_g = FAIL; /* File accessability */
|
||||
hid_t H5E_FPHDF5_g = FAIL; /* Flexible Parallel HDF5 */
|
||||
hid_t H5E_SYM_g = FAIL; /* Symbol table */
|
||||
hid_t H5E_VFL_g = FAIL; /* Virtual File Layer */
|
||||
hid_t H5E_INTERNAL_g = FAIL; /* Internal error (too specific to document in detail) */
|
||||
hid_t H5E_BTREE_g = FAIL; /* B-Tree node */
|
||||
hid_t H5E_REFERENCE_g = FAIL; /* References */
|
||||
hid_t H5E_DATASPACE_g = FAIL; /* Dataspace */
|
||||
hid_t H5E_RESOURCE_g = FAIL; /* Resource unavailable */
|
||||
hid_t H5E_PLIST_g = FAIL; /* Property lists */
|
||||
hid_t H5E_DATATYPE_g = FAIL; /* Datatype */
|
||||
hid_t H5E_RS_g = FAIL; /* Reference Counted Strings */
|
||||
hid_t H5E_HEAP_g = FAIL; /* Heap */
|
||||
hid_t H5E_OHDR_g = FAIL; /* Object header */
|
||||
hid_t H5E_TBBT_g = FAIL; /* Threaded, Balanced, Binary Trees */
|
||||
hid_t H5E_ATOM_g = FAIL; /* Object atom */
|
||||
hid_t H5E_ATTR_g = FAIL; /* Attribute */
|
||||
hid_t H5E_IO_g = FAIL; /* Low-level I/O */
|
||||
hid_t H5E_SLIST_g = FAIL; /* Skip Lists */
|
||||
hid_t H5E_EFL_g = FAIL; /* External file list */
|
||||
hid_t H5E_TST_g = FAIL; /* Ternary Search Trees */
|
||||
hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
|
||||
hid_t H5E_DATASET_g = FAIL; /* Dataset */
|
||||
hid_t H5E_DATASPACE_g = FAIL; /* Dataspace */
|
||||
hid_t H5E_VFL_g = FAIL; /* Virtual File Layer */
|
||||
hid_t H5E_RESOURCE_g = FAIL; /* Resource unavailable */
|
||||
hid_t H5E_ERROR_g = FAIL; /* Error API */
|
||||
hid_t H5E_PLINE_g = FAIL; /* Data filters */
|
||||
hid_t H5E_TBBT_g = FAIL; /* Threaded, Balanced, Binary Trees */
|
||||
hid_t H5E_PLIST_g = FAIL; /* Property lists */
|
||||
hid_t H5E_FUNC_g = FAIL; /* Function entry/exit */
|
||||
hid_t H5E_OHDR_g = FAIL; /* Object header */
|
||||
hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
|
||||
hid_t H5E_SLIST_g = FAIL; /* Skip Lists */
|
||||
hid_t H5E_REFERENCE_g = FAIL; /* References */
|
||||
hid_t H5E_ATOM_g = FAIL; /* Object atom */
|
||||
hid_t H5E_BTREE_g = FAIL; /* B-Tree node */
|
||||
hid_t H5E_CACHE_g = FAIL; /* Object cache */
|
||||
hid_t H5E_STORAGE_g = FAIL; /* Data storage */
|
||||
hid_t H5E_EFL_g = FAIL; /* External file list */
|
||||
hid_t H5E_PLINE_g = FAIL; /* Data filters */
|
||||
hid_t H5E_IO_g = FAIL; /* Low-level I/O */
|
||||
hid_t H5E_SYM_g = FAIL; /* Symbol table */
|
||||
hid_t H5E_TST_g = FAIL; /* Ternary Search Trees */
|
||||
hid_t H5E_ATTR_g = FAIL; /* Attribute */
|
||||
hid_t H5E_DATATYPE_g = FAIL; /* Datatype */
|
||||
hid_t H5E_FPHDF5_g = FAIL; /* Flexible Parallel HDF5 */
|
||||
hid_t H5E_INTERNAL_g = FAIL; /* Internal error (too specific to document in detail) */
|
||||
hid_t H5E_HEAP_g = FAIL; /* Heap */
|
||||
|
||||
/* Minor error IDs */
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
hid_t H5E_CANTMAKETREE_g = FAIL; /* Can't create a binary tree node */
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
hid_t H5E_SEEKERROR_g = FAIL; /* Seek failed */
|
||||
hid_t H5E_READERROR_g = FAIL; /* Read failed */
|
||||
@ -62,56 +59,9 @@ hid_t H5E_CLOSEERROR_g = FAIL; /* Close failed */
|
||||
hid_t H5E_OVERFLOW_g = FAIL; /* Address overflowed */
|
||||
hid_t H5E_FCNTL_g = FAIL; /* File control (fcntl) failed */
|
||||
|
||||
/* Resource errors */
|
||||
hid_t H5E_NOSPACE_g = FAIL; /* No space available for allocation */
|
||||
hid_t H5E_CANTCOPY_g = FAIL; /* Unable to copy object */
|
||||
hid_t H5E_CANTFREE_g = FAIL; /* Unable to free object */
|
||||
hid_t H5E_ALREADYEXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTLOCK_g = FAIL; /* Unable to lock object */
|
||||
hid_t H5E_CANTUNLOCK_g = FAIL; /* Unable to unlock object */
|
||||
hid_t H5E_CANTGC_g = FAIL; /* Unable to garbage collect */
|
||||
hid_t H5E_CANTGETSIZE_g = FAIL; /* Unable to compute size */
|
||||
|
||||
/* Heap errors */
|
||||
hid_t H5E_CANTRESTORE_g = FAIL; /* Can't restore condition */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
hid_t H5E_CANTINIT_g = FAIL; /* Unable to initialize object */
|
||||
hid_t H5E_ALREADYINIT_g = FAIL; /* Object already initialized */
|
||||
hid_t H5E_CANTRELEASE_g = FAIL; /* Unable to release object */
|
||||
|
||||
/* Property list errors */
|
||||
hid_t H5E_CANTGET_g = FAIL; /* Can't get value */
|
||||
hid_t H5E_CANTSET_g = FAIL; /* Can't set value */
|
||||
hid_t H5E_DUPCLASS_g = FAIL; /* Duplicate class name in parent class */
|
||||
|
||||
/* Object header related errors */
|
||||
hid_t H5E_LINKCOUNT_g = FAIL; /* Bad object header link count */
|
||||
hid_t H5E_VERSION_g = FAIL; /* Wrong version number */
|
||||
hid_t H5E_ALIGNMENT_g = FAIL; /* Alignment error */
|
||||
hid_t H5E_BADMESG_g = FAIL; /* Unrecognized message */
|
||||
hid_t H5E_CANTDELETE_g = FAIL; /* Can't delete message */
|
||||
|
||||
/* FPHDF5 errors */
|
||||
hid_t H5E_CANTRECV_g = FAIL; /* Can't receive messages from processes */
|
||||
hid_t H5E_CANTSENDMDATA_g = FAIL; /* Can't send metadata message */
|
||||
hid_t H5E_CANTCHANGE_g = FAIL; /* Can't register change with server */
|
||||
hid_t H5E_CANTALLOC_g = FAIL; /* Can't allocate from file */
|
||||
|
||||
/* I/O pipeline errors */
|
||||
hid_t H5E_NOFILTER_g = FAIL; /* Requested filter is not available */
|
||||
hid_t H5E_CALLBACK_g = FAIL; /* Callback failed */
|
||||
hid_t H5E_CANAPPLY_g = FAIL; /* Error from filter 'can apply' callback */
|
||||
hid_t H5E_SETLOCAL_g = FAIL; /* Error from filter 'set local' callback */
|
||||
hid_t H5E_NOENCODER_g = FAIL; /* Filter present but encoding disabled */
|
||||
|
||||
/* Group related errors */
|
||||
hid_t H5E_CANTOPENOBJ_g = FAIL; /* Can't open object */
|
||||
hid_t H5E_CANTCLOSEOBJ_g = FAIL; /* Can't close object */
|
||||
hid_t H5E_COMPLEN_g = FAIL; /* Name component is too long */
|
||||
hid_t H5E_CWG_g = FAIL; /* Problem with current working group */
|
||||
hid_t H5E_LINK_g = FAIL; /* Link count failure */
|
||||
hid_t H5E_SLINK_g = FAIL; /* Symbolic link error */
|
||||
/* Parallel MPI errors */
|
||||
hid_t H5E_MPI_g = FAIL; /* Some MPI function failed */
|
||||
hid_t H5E_MPIERRSTR_g = FAIL; /* MPI Error String */
|
||||
|
||||
/* File accessability errors */
|
||||
hid_t H5E_FILEEXISTS_g = FAIL; /* File already exists */
|
||||
@ -124,6 +74,59 @@ hid_t H5E_BADFILE_g = FAIL; /* Bad file ID accessed */
|
||||
hid_t H5E_TRUNCATED_g = FAIL; /* File has been truncated */
|
||||
hid_t H5E_MOUNT_g = FAIL; /* File mount error */
|
||||
|
||||
/* Resource errors */
|
||||
hid_t H5E_NOSPACE_g = FAIL; /* No space available for allocation */
|
||||
hid_t H5E_CANTCOPY_g = FAIL; /* Unable to copy object */
|
||||
hid_t H5E_CANTFREE_g = FAIL; /* Unable to free object */
|
||||
hid_t H5E_ALREADYEXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTLOCK_g = FAIL; /* Unable to lock object */
|
||||
hid_t H5E_CANTUNLOCK_g = FAIL; /* Unable to unlock object */
|
||||
hid_t H5E_CANTGC_g = FAIL; /* Unable to garbage collect */
|
||||
hid_t H5E_CANTGETSIZE_g = FAIL; /* Unable to compute size */
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
hid_t H5E_CANTMAKETREE_g = FAIL; /* Can't create a binary tree node */
|
||||
|
||||
/* Property list errors */
|
||||
hid_t H5E_CANTGET_g = FAIL; /* Can't get value */
|
||||
hid_t H5E_CANTSET_g = FAIL; /* Can't set value */
|
||||
hid_t H5E_DUPCLASS_g = FAIL; /* Duplicate class name in parent class */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
hid_t H5E_CANTINIT_g = FAIL; /* Unable to initialize object */
|
||||
hid_t H5E_ALREADYINIT_g = FAIL; /* Object already initialized */
|
||||
hid_t H5E_CANTRELEASE_g = FAIL; /* Unable to release object */
|
||||
|
||||
/* Group related errors */
|
||||
hid_t H5E_CANTOPENOBJ_g = FAIL; /* Can't open object */
|
||||
hid_t H5E_CANTCLOSEOBJ_g = FAIL; /* Can't close object */
|
||||
hid_t H5E_COMPLEN_g = FAIL; /* Name component is too long */
|
||||
hid_t H5E_CWG_g = FAIL; /* Problem with current working group */
|
||||
hid_t H5E_LINK_g = FAIL; /* Link count failure */
|
||||
hid_t H5E_SLINK_g = FAIL; /* Symbolic link error */
|
||||
|
||||
/* Object header related errors */
|
||||
hid_t H5E_LINKCOUNT_g = FAIL; /* Bad object header link count */
|
||||
hid_t H5E_VERSION_g = FAIL; /* Wrong version number */
|
||||
hid_t H5E_ALIGNMENT_g = FAIL; /* Alignment error */
|
||||
hid_t H5E_BADMESG_g = FAIL; /* Unrecognized message */
|
||||
hid_t H5E_CANTDELETE_g = FAIL; /* Can't delete message */
|
||||
|
||||
/* Argument errors */
|
||||
hid_t H5E_UNINITIALIZED_g = FAIL; /* Information is uinitialized */
|
||||
hid_t H5E_UNSUPPORTED_g = FAIL; /* Feature is unsupported */
|
||||
hid_t H5E_BADTYPE_g = FAIL; /* Inappropriate type */
|
||||
hid_t H5E_BADRANGE_g = FAIL; /* Out of range */
|
||||
hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
|
||||
|
||||
/* Dataspace errors */
|
||||
hid_t H5E_CANTCLIP_g = FAIL; /* Can't clip hyperslab region */
|
||||
hid_t H5E_CANTCOUNT_g = FAIL; /* Can't count elements */
|
||||
hid_t H5E_CANTSELECT_g = FAIL; /* Can't select hyperslab */
|
||||
hid_t H5E_CANTNEXT_g = FAIL; /* Can't move to next iterator location */
|
||||
hid_t H5E_BADSELECT_g = FAIL; /* Invalid selection */
|
||||
hid_t H5E_CANTCOMPARE_g = FAIL; /* Can't compare objects */
|
||||
|
||||
/* Object atom related errors */
|
||||
hid_t H5E_BADATOM_g = FAIL; /* Unable to find atom information (already closed?) */
|
||||
hid_t H5E_BADGROUP_g = FAIL; /* Unable to find ID group information */
|
||||
@ -132,6 +135,21 @@ hid_t H5E_CANTINC_g = FAIL; /* Unable to increment reference count *
|
||||
hid_t H5E_CANTDEC_g = FAIL; /* Unable to decrement reference count */
|
||||
hid_t H5E_NOIDS_g = FAIL; /* Out of IDs for group */
|
||||
|
||||
/* B-tree related errors */
|
||||
hid_t H5E_NOTFOUND_g = FAIL; /* Object not found */
|
||||
hid_t H5E_EXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTENCODE_g = FAIL; /* Unable to encode value */
|
||||
hid_t H5E_CANTDECODE_g = FAIL; /* Unable to decode value */
|
||||
hid_t H5E_CANTSPLIT_g = FAIL; /* Unable to split node */
|
||||
hid_t H5E_CANTINSERT_g = FAIL; /* Unable to insert object */
|
||||
hid_t H5E_CANTLIST_g = FAIL; /* Unable to list node */
|
||||
|
||||
/* FPHDF5 errors */
|
||||
hid_t H5E_CANTRECV_g = FAIL; /* Can't receive messages from processes */
|
||||
hid_t H5E_CANTSENDMDATA_g = FAIL; /* Can't send metadata message */
|
||||
hid_t H5E_CANTCHANGE_g = FAIL; /* Can't register change with server */
|
||||
hid_t H5E_CANTALLOC_g = FAIL; /* Can't allocate from file */
|
||||
|
||||
/* Cache related errors */
|
||||
hid_t H5E_CANTFLUSH_g = FAIL; /* Unable to flush data from cache */
|
||||
hid_t H5E_CANTSERIALIZE_g = FAIL; /* Unable to serialize data from cache */
|
||||
@ -144,36 +162,18 @@ hid_t H5E_CANTRENAME_g = FAIL; /* Unable to rename metadata */
|
||||
hid_t H5E_CANTPROTECT_g = FAIL; /* Unable to protect metadata */
|
||||
hid_t H5E_CANTUNPROTECT_g = FAIL; /* Unable to unprotect metadata */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
hid_t H5E_MPI_g = FAIL; /* Some MPI function failed */
|
||||
hid_t H5E_MPIERRSTR_g = FAIL; /* MPI Error String */
|
||||
|
||||
/* Dataspace errors */
|
||||
hid_t H5E_CANTCLIP_g = FAIL; /* Can't clip hyperslab region */
|
||||
hid_t H5E_CANTCOUNT_g = FAIL; /* Can't count elements */
|
||||
hid_t H5E_CANTSELECT_g = FAIL; /* Can't select hyperslab */
|
||||
hid_t H5E_CANTNEXT_g = FAIL; /* Can't move to next iterator location */
|
||||
hid_t H5E_BADSELECT_g = FAIL; /* Invalid selection */
|
||||
hid_t H5E_CANTCOMPARE_g = FAIL; /* Can't compare objects */
|
||||
|
||||
/* B-tree related errors */
|
||||
hid_t H5E_NOTFOUND_g = FAIL; /* Object not found */
|
||||
hid_t H5E_EXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTENCODE_g = FAIL; /* Unable to encode value */
|
||||
hid_t H5E_CANTDECODE_g = FAIL; /* Unable to decode value */
|
||||
hid_t H5E_CANTSPLIT_g = FAIL; /* Unable to split node */
|
||||
hid_t H5E_CANTINSERT_g = FAIL; /* Unable to insert object */
|
||||
hid_t H5E_CANTLIST_g = FAIL; /* Unable to list node */
|
||||
|
||||
/* Argument errors */
|
||||
hid_t H5E_UNINITIALIZED_g = FAIL; /* Information is uinitialized */
|
||||
hid_t H5E_UNSUPPORTED_g = FAIL; /* Feature is unsupported */
|
||||
hid_t H5E_BADTYPE_g = FAIL; /* Inappropriate type */
|
||||
hid_t H5E_BADRANGE_g = FAIL; /* Out of range */
|
||||
hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
|
||||
/* I/O pipeline errors */
|
||||
hid_t H5E_NOFILTER_g = FAIL; /* Requested filter is not available */
|
||||
hid_t H5E_CALLBACK_g = FAIL; /* Callback failed */
|
||||
hid_t H5E_CANAPPLY_g = FAIL; /* Error from filter 'can apply' callback */
|
||||
hid_t H5E_SETLOCAL_g = FAIL; /* Error from filter 'set local' callback */
|
||||
hid_t H5E_NOENCODER_g = FAIL; /* Filter present but encoding disabled */
|
||||
|
||||
/* Datatype conversion errors */
|
||||
hid_t H5E_CANTCONVERT_g = FAIL; /* Can't convert datatypes */
|
||||
hid_t H5E_BADSIZE_g = FAIL; /* Bad size for object */
|
||||
|
||||
/* Heap errors */
|
||||
hid_t H5E_CANTRESTORE_g = FAIL; /* Can't restore condition */
|
||||
|
||||
#endif /* H5Edefin_H */
|
||||
|
800
src/H5Einit.h
800
src/H5Einit.h
@ -23,159 +23,152 @@
|
||||
/* Major error codes */
|
||||
/*********************/
|
||||
|
||||
assert(H5E_DATASET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DATASET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_FUNC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Function entry/exit"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_FUNC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_STORAGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data storage"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_STORAGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_FILE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "File accessability"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_FILE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_FPHDF5_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Flexible Parallel HDF5"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_FPHDF5_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SYM_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Symbol table"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SYM_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_VFL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual File Layer"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_VFL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_INTERNAL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Internal error (too specific to document in detail)"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_INTERNAL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BTREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "B-Tree node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BTREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_REFERENCE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "References"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_REFERENCE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_DATASPACE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataspace"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DATASPACE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_RESOURCE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Resource unavailable"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_RESOURCE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_PLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Property lists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_PLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_DATATYPE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Datatype"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DATATYPE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_RS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Reference Counted Strings"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_RS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_HEAP_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Heap"))==NULL)
|
||||
assert(H5E_DATASET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataset"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_HEAP_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_DATASET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_OHDR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object header"))==NULL)
|
||||
assert(H5E_DATASPACE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Dataspace"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_OHDR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_DATASPACE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_TBBT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Threaded, Balanced, Binary Trees"))==NULL)
|
||||
assert(H5E_VFL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual File Layer"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_TBBT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_VFL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ATOM_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object atom"))==NULL)
|
||||
assert(H5E_RESOURCE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Resource unavailable"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ATOM_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ATTR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Attribute"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ATTR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_IO_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Low-level I/O"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_IO_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Skip Lists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_EFL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "External file list"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_EFL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_TST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Ternary Search Trees"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_TST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ARGS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Invalid arguments to routine"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ARGS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_RESOURCE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ERROR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Error API"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ERROR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_PLINE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data filters"))==NULL)
|
||||
assert(H5E_TBBT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Threaded, Balanced, Binary Trees"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_PLINE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_TBBT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_PLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Property lists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_PLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_FUNC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Function entry/exit"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_FUNC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_OHDR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object header"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_OHDR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ARGS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Invalid arguments to routine"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ARGS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Skip Lists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_REFERENCE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "References"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_REFERENCE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ATOM_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object atom"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ATOM_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BTREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "B-Tree node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BTREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CACHE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Object cache"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CACHE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_STORAGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data storage"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_STORAGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_EFL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "External file list"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_EFL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_PLINE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Data filters"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_PLINE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_IO_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Low-level I/O"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_IO_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SYM_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Symbol table"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SYM_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_TST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Ternary Search Trees"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_TST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ATTR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Attribute"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ATTR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_DATATYPE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Datatype"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DATATYPE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_FPHDF5_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Flexible Parallel HDF5"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_FPHDF5_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_INTERNAL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Internal error (too specific to document in detail)"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_INTERNAL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_HEAP_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Heap"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_HEAP_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/*********************/
|
||||
/* Minor error codes */
|
||||
/*********************/
|
||||
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
assert(H5E_CANTMAKETREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't create a binary tree node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTMAKETREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
assert(H5E_SEEKERROR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Seek failed"))==NULL)
|
||||
@ -208,195 +201,16 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "File control (fcntl) failed"))==NULL)
|
||||
if((H5E_FCNTL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Resource errors */
|
||||
assert(H5E_NOSPACE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "No space available for allocation"))==NULL)
|
||||
/* Parallel MPI errors */
|
||||
assert(H5E_MPI_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Some MPI function failed"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOSPACE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_MPI_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOPY_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to copy object"))==NULL)
|
||||
assert(H5E_MPIERRSTR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "MPI Error String"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOPY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTFREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to free object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTFREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALREADYEXISTS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALREADYEXISTS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTLOCK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to lock object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTLOCK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTUNLOCK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unlock object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTUNLOCK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTGC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to garbage collect"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTGETSIZE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to compute size"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGETSIZE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Heap errors */
|
||||
assert(H5E_CANTRESTORE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't restore condition"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRESTORE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
assert(H5E_CANTINIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to initialize object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTINIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALREADYINIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already initialized"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALREADYINIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTRELEASE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to release object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRELEASE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Property list errors */
|
||||
assert(H5E_CANTGET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't get value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't set value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_DUPCLASS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Duplicate class name in parent class"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DUPCLASS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Object header related errors */
|
||||
assert(H5E_LINKCOUNT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad object header link count"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_LINKCOUNT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_VERSION_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Wrong version number"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_VERSION_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALIGNMENT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Alignment error"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALIGNMENT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADMESG_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unrecognized message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADMESG_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTDELETE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't delete message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTDELETE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* FPHDF5 errors */
|
||||
assert(H5E_CANTRECV_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't receive messages from processes"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRECV_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSENDMDATA_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't send metadata message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSENDMDATA_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCHANGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't register change with server"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCHANGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTALLOC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't allocate from file"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTALLOC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* I/O pipeline errors */
|
||||
assert(H5E_NOFILTER_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Requested filter is not available"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOFILTER_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CALLBACK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Callback failed"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CALLBACK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANAPPLY_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'can apply' callback"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANAPPLY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SETLOCAL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'set local' callback"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SETLOCAL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_NOENCODER_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter present but encoding disabled"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOENCODER_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Group related errors */
|
||||
assert(H5E_CANTOPENOBJ_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTOPENOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCLOSEOBJ_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't close object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCLOSEOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_COMPLEN_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Name component is too long"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_COMPLEN_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CWG_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Problem with current working group"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CWG_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_LINK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Link count failure"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_LINK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SLINK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Symbolic link error"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SLINK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_MPIERRSTR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* File accessability errors */
|
||||
@ -446,6 +260,207 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "File mount error"))==NULL)
|
||||
if((H5E_MOUNT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Resource errors */
|
||||
assert(H5E_NOSPACE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "No space available for allocation"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOSPACE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOPY_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to copy object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOPY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTFREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to free object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTFREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALREADYEXISTS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALREADYEXISTS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTLOCK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to lock object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTLOCK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTUNLOCK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unlock object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTUNLOCK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTGC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to garbage collect"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTGETSIZE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to compute size"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGETSIZE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
assert(H5E_CANTMAKETREE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't create a binary tree node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTMAKETREE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Property list errors */
|
||||
assert(H5E_CANTGET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't get value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTGET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSET_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't set value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSET_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_DUPCLASS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Duplicate class name in parent class"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_DUPCLASS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
assert(H5E_CANTINIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to initialize object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTINIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALREADYINIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already initialized"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALREADYINIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTRELEASE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to release object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRELEASE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Group related errors */
|
||||
assert(H5E_CANTOPENOBJ_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't open object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTOPENOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCLOSEOBJ_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't close object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCLOSEOBJ_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_COMPLEN_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Name component is too long"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_COMPLEN_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CWG_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Problem with current working group"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CWG_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_LINK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Link count failure"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_LINK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_SLINK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Symbolic link error"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_SLINK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Object header related errors */
|
||||
assert(H5E_LINKCOUNT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad object header link count"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_LINKCOUNT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_VERSION_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Wrong version number"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_VERSION_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_ALIGNMENT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Alignment error"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_ALIGNMENT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADMESG_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unrecognized message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADMESG_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTDELETE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't delete message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTDELETE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Argument errors */
|
||||
assert(H5E_UNINITIALIZED_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Information is uinitialized"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_UNINITIALIZED_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_UNSUPPORTED_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Feature is unsupported"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_UNSUPPORTED_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADTYPE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Inappropriate type"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADTYPE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADRANGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of range"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADRANGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADVALUE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADVALUE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Dataspace errors */
|
||||
assert(H5E_CANTCLIP_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't clip hyperslab region"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCLIP_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOUNT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't count elements"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOUNT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSELECT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't select hyperslab"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSELECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTNEXT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't move to next iterator location"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTNEXT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADSELECT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Invalid selection"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADSELECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOMPARE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compare objects"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOMPARE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Object atom related errors */
|
||||
assert(H5E_BADATOM_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to find atom information (already closed?)"))==NULL)
|
||||
@ -478,6 +493,65 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of IDs for group"))==NULL)
|
||||
if((H5E_NOIDS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* B-tree related errors */
|
||||
assert(H5E_NOTFOUND_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object not found"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOTFOUND_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_EXISTS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_EXISTS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTENCODE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to encode value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTENCODE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTDECODE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decode value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTDECODE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSPLIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to split node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSPLIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTINSERT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTINSERT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to list node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* FPHDF5 errors */
|
||||
assert(H5E_CANTRECV_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't receive messages from processes"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRECV_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSENDMDATA_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't send metadata message"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSENDMDATA_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCHANGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't register change with server"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCHANGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTALLOC_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't allocate from file"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTALLOC_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Cache related errors */
|
||||
assert(H5E_CANTFLUSH_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to flush data from cache"))==NULL)
|
||||
@ -530,112 +604,31 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to unprotect metadata"))==NULL)
|
||||
if((H5E_CANTUNPROTECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Parallel MPI errors */
|
||||
assert(H5E_MPI_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Some MPI function failed"))==NULL)
|
||||
/* I/O pipeline errors */
|
||||
assert(H5E_NOFILTER_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Requested filter is not available"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_MPI_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_NOFILTER_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_MPIERRSTR_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "MPI Error String"))==NULL)
|
||||
assert(H5E_CALLBACK_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Callback failed"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_MPIERRSTR_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_CALLBACK_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Dataspace errors */
|
||||
assert(H5E_CANTCLIP_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't clip hyperslab region"))==NULL)
|
||||
assert(H5E_CANAPPLY_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'can apply' callback"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCLIP_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_CANAPPLY_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOUNT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't count elements"))==NULL)
|
||||
assert(H5E_SETLOCAL_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Error from filter 'set local' callback"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOUNT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_SETLOCAL_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSELECT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't select hyperslab"))==NULL)
|
||||
assert(H5E_NOENCODER_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Filter present but encoding disabled"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSELECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTNEXT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't move to next iterator location"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTNEXT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADSELECT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Invalid selection"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADSELECT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTCOMPARE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't compare objects"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTCOMPARE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* B-tree related errors */
|
||||
assert(H5E_NOTFOUND_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object not found"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_NOTFOUND_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_EXISTS_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Object already exists"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_EXISTS_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTENCODE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to encode value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTENCODE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTDECODE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to decode value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTDECODE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTSPLIT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to split node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTSPLIT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTINSERT_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to insert object"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTINSERT_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_CANTLIST_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Unable to list node"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTLIST_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Argument errors */
|
||||
assert(H5E_UNINITIALIZED_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Information is uinitialized"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_UNINITIALIZED_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_UNSUPPORTED_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Feature is unsupported"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_UNSUPPORTED_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADTYPE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Inappropriate type"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADTYPE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADRANGE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Out of range"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADRANGE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
assert(H5E_BADVALUE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad value"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_BADVALUE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
if((H5E_NOENCODER_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Datatype conversion errors */
|
||||
@ -650,4 +643,11 @@ if((msg = H5E_create_msg(cls, H5E_MINOR, "Bad size for object"))==NULL)
|
||||
if((H5E_BADSIZE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
/* Heap errors */
|
||||
assert(H5E_CANTRESTORE_g==(-1));
|
||||
if((msg = H5E_create_msg(cls, H5E_MINOR, "Can't restore condition"))==NULL)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
|
||||
if((H5E_CANTRESTORE_g = H5I_register(H5I_ERROR_MSG, msg))<0)
|
||||
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
|
||||
|
||||
#endif /* H5Einit_H */
|
||||
|
368
src/H5Epubgen.h
368
src/H5Epubgen.h
@ -23,71 +23,67 @@
|
||||
/* Major error codes */
|
||||
/*********************/
|
||||
|
||||
#define H5E_DATASET (H5OPEN H5E_DATASET_g)
|
||||
#define H5E_FUNC (H5OPEN H5E_FUNC_g)
|
||||
#define H5E_STORAGE (H5OPEN H5E_STORAGE_g)
|
||||
#define H5E_FILE (H5OPEN H5E_FILE_g)
|
||||
#define H5E_FPHDF5 (H5OPEN H5E_FPHDF5_g)
|
||||
#define H5E_SYM (H5OPEN H5E_SYM_g)
|
||||
#define H5E_VFL (H5OPEN H5E_VFL_g)
|
||||
#define H5E_INTERNAL (H5OPEN H5E_INTERNAL_g)
|
||||
#define H5E_BTREE (H5OPEN H5E_BTREE_g)
|
||||
#define H5E_REFERENCE (H5OPEN H5E_REFERENCE_g)
|
||||
#define H5E_DATASPACE (H5OPEN H5E_DATASPACE_g)
|
||||
#define H5E_RESOURCE (H5OPEN H5E_RESOURCE_g)
|
||||
#define H5E_PLIST (H5OPEN H5E_PLIST_g)
|
||||
#define H5E_DATATYPE (H5OPEN H5E_DATATYPE_g)
|
||||
#define H5E_RS (H5OPEN H5E_RS_g)
|
||||
#define H5E_HEAP (H5OPEN H5E_HEAP_g)
|
||||
#define H5E_OHDR (H5OPEN H5E_OHDR_g)
|
||||
#define H5E_TBBT (H5OPEN H5E_TBBT_g)
|
||||
#define H5E_ATOM (H5OPEN H5E_ATOM_g)
|
||||
#define H5E_ATTR (H5OPEN H5E_ATTR_g)
|
||||
#define H5E_IO (H5OPEN H5E_IO_g)
|
||||
#define H5E_SLIST (H5OPEN H5E_SLIST_g)
|
||||
#define H5E_EFL (H5OPEN H5E_EFL_g)
|
||||
#define H5E_TST (H5OPEN H5E_TST_g)
|
||||
#define H5E_ARGS (H5OPEN H5E_ARGS_g)
|
||||
#define H5E_DATASET (H5OPEN H5E_DATASET_g)
|
||||
#define H5E_DATASPACE (H5OPEN H5E_DATASPACE_g)
|
||||
#define H5E_VFL (H5OPEN H5E_VFL_g)
|
||||
#define H5E_RESOURCE (H5OPEN H5E_RESOURCE_g)
|
||||
#define H5E_ERROR (H5OPEN H5E_ERROR_g)
|
||||
#define H5E_PLINE (H5OPEN H5E_PLINE_g)
|
||||
#define H5E_TBBT (H5OPEN H5E_TBBT_g)
|
||||
#define H5E_PLIST (H5OPEN H5E_PLIST_g)
|
||||
#define H5E_FUNC (H5OPEN H5E_FUNC_g)
|
||||
#define H5E_OHDR (H5OPEN H5E_OHDR_g)
|
||||
#define H5E_ARGS (H5OPEN H5E_ARGS_g)
|
||||
#define H5E_SLIST (H5OPEN H5E_SLIST_g)
|
||||
#define H5E_REFERENCE (H5OPEN H5E_REFERENCE_g)
|
||||
#define H5E_ATOM (H5OPEN H5E_ATOM_g)
|
||||
#define H5E_BTREE (H5OPEN H5E_BTREE_g)
|
||||
#define H5E_CACHE (H5OPEN H5E_CACHE_g)
|
||||
H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
|
||||
H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
|
||||
H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
|
||||
#define H5E_STORAGE (H5OPEN H5E_STORAGE_g)
|
||||
#define H5E_EFL (H5OPEN H5E_EFL_g)
|
||||
#define H5E_PLINE (H5OPEN H5E_PLINE_g)
|
||||
#define H5E_IO (H5OPEN H5E_IO_g)
|
||||
#define H5E_SYM (H5OPEN H5E_SYM_g)
|
||||
#define H5E_TST (H5OPEN H5E_TST_g)
|
||||
#define H5E_ATTR (H5OPEN H5E_ATTR_g)
|
||||
#define H5E_DATATYPE (H5OPEN H5E_DATATYPE_g)
|
||||
#define H5E_FPHDF5 (H5OPEN H5E_FPHDF5_g)
|
||||
#define H5E_INTERNAL (H5OPEN H5E_INTERNAL_g)
|
||||
#define H5E_HEAP (H5OPEN H5E_HEAP_g)
|
||||
H5_DLLVAR hid_t H5E_FILE_g; /* File accessability */
|
||||
H5_DLLVAR hid_t H5E_FPHDF5_g; /* Flexible Parallel HDF5 */
|
||||
H5_DLLVAR hid_t H5E_SYM_g; /* Symbol table */
|
||||
H5_DLLVAR hid_t H5E_VFL_g; /* Virtual File Layer */
|
||||
H5_DLLVAR hid_t H5E_INTERNAL_g; /* Internal error (too specific to document in detail) */
|
||||
H5_DLLVAR hid_t H5E_BTREE_g; /* B-Tree node */
|
||||
H5_DLLVAR hid_t H5E_REFERENCE_g; /* References */
|
||||
H5_DLLVAR hid_t H5E_DATASPACE_g; /* Dataspace */
|
||||
H5_DLLVAR hid_t H5E_RESOURCE_g; /* Resource unavailable */
|
||||
H5_DLLVAR hid_t H5E_PLIST_g; /* Property lists */
|
||||
H5_DLLVAR hid_t H5E_DATATYPE_g; /* Datatype */
|
||||
H5_DLLVAR hid_t H5E_RS_g; /* Reference Counted Strings */
|
||||
H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
|
||||
H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
|
||||
H5_DLLVAR hid_t H5E_TBBT_g; /* Threaded, Balanced, Binary Trees */
|
||||
H5_DLLVAR hid_t H5E_ATOM_g; /* Object atom */
|
||||
H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
|
||||
H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
|
||||
H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
|
||||
H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
|
||||
H5_DLLVAR hid_t H5E_TST_g; /* Ternary Search Trees */
|
||||
H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
|
||||
H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
|
||||
H5_DLLVAR hid_t H5E_DATASPACE_g; /* Dataspace */
|
||||
H5_DLLVAR hid_t H5E_VFL_g; /* Virtual File Layer */
|
||||
H5_DLLVAR hid_t H5E_RESOURCE_g; /* Resource unavailable */
|
||||
H5_DLLVAR hid_t H5E_ERROR_g; /* Error API */
|
||||
H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
|
||||
H5_DLLVAR hid_t H5E_TBBT_g; /* Threaded, Balanced, Binary Trees */
|
||||
H5_DLLVAR hid_t H5E_PLIST_g; /* Property lists */
|
||||
H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
|
||||
H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
|
||||
H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
|
||||
H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
|
||||
H5_DLLVAR hid_t H5E_REFERENCE_g; /* References */
|
||||
H5_DLLVAR hid_t H5E_ATOM_g; /* Object atom */
|
||||
H5_DLLVAR hid_t H5E_BTREE_g; /* B-Tree node */
|
||||
H5_DLLVAR hid_t H5E_CACHE_g; /* Object cache */
|
||||
H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
|
||||
H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
|
||||
H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
|
||||
H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
|
||||
H5_DLLVAR hid_t H5E_SYM_g; /* Symbol table */
|
||||
H5_DLLVAR hid_t H5E_TST_g; /* Ternary Search Trees */
|
||||
H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
|
||||
H5_DLLVAR hid_t H5E_DATATYPE_g; /* Datatype */
|
||||
H5_DLLVAR hid_t H5E_FPHDF5_g; /* Flexible Parallel HDF5 */
|
||||
H5_DLLVAR hid_t H5E_INTERNAL_g; /* Internal error (too specific to document in detail) */
|
||||
H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
|
||||
|
||||
/*********************/
|
||||
/* Minor error codes */
|
||||
/*********************/
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
#define H5E_CANTMAKETREE (H5OPEN H5E_CANTMAKETREE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTMAKETREE_g; /* Can't create a binary tree node */
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
#define H5E_SEEKERROR (H5OPEN H5E_SEEKERROR_g)
|
||||
#define H5E_READERROR (H5OPEN H5E_READERROR_g)
|
||||
@ -102,91 +98,11 @@ H5_DLLVAR hid_t H5E_CLOSEERROR_g; /* Close failed */
|
||||
H5_DLLVAR hid_t H5E_OVERFLOW_g; /* Address overflowed */
|
||||
H5_DLLVAR hid_t H5E_FCNTL_g; /* File control (fcntl) failed */
|
||||
|
||||
/* Resource errors */
|
||||
#define H5E_NOSPACE (H5OPEN H5E_NOSPACE_g)
|
||||
#define H5E_CANTCOPY (H5OPEN H5E_CANTCOPY_g)
|
||||
#define H5E_CANTFREE (H5OPEN H5E_CANTFREE_g)
|
||||
#define H5E_ALREADYEXISTS (H5OPEN H5E_ALREADYEXISTS_g)
|
||||
#define H5E_CANTLOCK (H5OPEN H5E_CANTLOCK_g)
|
||||
#define H5E_CANTUNLOCK (H5OPEN H5E_CANTUNLOCK_g)
|
||||
#define H5E_CANTGC (H5OPEN H5E_CANTGC_g)
|
||||
#define H5E_CANTGETSIZE (H5OPEN H5E_CANTGETSIZE_g)
|
||||
H5_DLLVAR hid_t H5E_NOSPACE_g; /* No space available for allocation */
|
||||
H5_DLLVAR hid_t H5E_CANTCOPY_g; /* Unable to copy object */
|
||||
H5_DLLVAR hid_t H5E_CANTFREE_g; /* Unable to free object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYEXISTS_g;/* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTLOCK_g; /* Unable to lock object */
|
||||
H5_DLLVAR hid_t H5E_CANTUNLOCK_g; /* Unable to unlock object */
|
||||
H5_DLLVAR hid_t H5E_CANTGC_g; /* Unable to garbage collect */
|
||||
H5_DLLVAR hid_t H5E_CANTGETSIZE_g; /* Unable to compute size */
|
||||
|
||||
/* Heap errors */
|
||||
#define H5E_CANTRESTORE (H5OPEN H5E_CANTRESTORE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRESTORE_g; /* Can't restore condition */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
#define H5E_CANTINIT (H5OPEN H5E_CANTINIT_g)
|
||||
#define H5E_ALREADYINIT (H5OPEN H5E_ALREADYINIT_g)
|
||||
#define H5E_CANTRELEASE (H5OPEN H5E_CANTRELEASE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTINIT_g; /* Unable to initialize object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYINIT_g; /* Object already initialized */
|
||||
H5_DLLVAR hid_t H5E_CANTRELEASE_g; /* Unable to release object */
|
||||
|
||||
/* Property list errors */
|
||||
#define H5E_CANTGET (H5OPEN H5E_CANTGET_g)
|
||||
#define H5E_CANTSET (H5OPEN H5E_CANTSET_g)
|
||||
#define H5E_DUPCLASS (H5OPEN H5E_DUPCLASS_g)
|
||||
H5_DLLVAR hid_t H5E_CANTGET_g; /* Can't get value */
|
||||
H5_DLLVAR hid_t H5E_CANTSET_g; /* Can't set value */
|
||||
H5_DLLVAR hid_t H5E_DUPCLASS_g; /* Duplicate class name in parent class */
|
||||
|
||||
/* Object header related errors */
|
||||
#define H5E_LINKCOUNT (H5OPEN H5E_LINKCOUNT_g)
|
||||
#define H5E_VERSION (H5OPEN H5E_VERSION_g)
|
||||
#define H5E_ALIGNMENT (H5OPEN H5E_ALIGNMENT_g)
|
||||
#define H5E_BADMESG (H5OPEN H5E_BADMESG_g)
|
||||
#define H5E_CANTDELETE (H5OPEN H5E_CANTDELETE_g)
|
||||
H5_DLLVAR hid_t H5E_LINKCOUNT_g; /* Bad object header link count */
|
||||
H5_DLLVAR hid_t H5E_VERSION_g; /* Wrong version number */
|
||||
H5_DLLVAR hid_t H5E_ALIGNMENT_g; /* Alignment error */
|
||||
H5_DLLVAR hid_t H5E_BADMESG_g; /* Unrecognized message */
|
||||
H5_DLLVAR hid_t H5E_CANTDELETE_g; /* Can't delete message */
|
||||
|
||||
/* FPHDF5 errors */
|
||||
#define H5E_CANTRECV (H5OPEN H5E_CANTRECV_g)
|
||||
#define H5E_CANTSENDMDATA (H5OPEN H5E_CANTSENDMDATA_g)
|
||||
#define H5E_CANTCHANGE (H5OPEN H5E_CANTCHANGE_g)
|
||||
#define H5E_CANTALLOC (H5OPEN H5E_CANTALLOC_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRECV_g; /* Can't receive messages from processes */
|
||||
H5_DLLVAR hid_t H5E_CANTSENDMDATA_g;/* Can't send metadata message */
|
||||
H5_DLLVAR hid_t H5E_CANTCHANGE_g; /* Can't register change with server */
|
||||
H5_DLLVAR hid_t H5E_CANTALLOC_g; /* Can't allocate from file */
|
||||
|
||||
/* I/O pipeline errors */
|
||||
#define H5E_NOFILTER (H5OPEN H5E_NOFILTER_g)
|
||||
#define H5E_CALLBACK (H5OPEN H5E_CALLBACK_g)
|
||||
#define H5E_CANAPPLY (H5OPEN H5E_CANAPPLY_g)
|
||||
#define H5E_SETLOCAL (H5OPEN H5E_SETLOCAL_g)
|
||||
#define H5E_NOENCODER (H5OPEN H5E_NOENCODER_g)
|
||||
H5_DLLVAR hid_t H5E_NOFILTER_g; /* Requested filter is not available */
|
||||
H5_DLLVAR hid_t H5E_CALLBACK_g; /* Callback failed */
|
||||
H5_DLLVAR hid_t H5E_CANAPPLY_g; /* Error from filter 'can apply' callback */
|
||||
H5_DLLVAR hid_t H5E_SETLOCAL_g; /* Error from filter 'set local' callback */
|
||||
H5_DLLVAR hid_t H5E_NOENCODER_g; /* Filter present but encoding disabled */
|
||||
|
||||
/* Group related errors */
|
||||
#define H5E_CANTOPENOBJ (H5OPEN H5E_CANTOPENOBJ_g)
|
||||
#define H5E_CANTCLOSEOBJ (H5OPEN H5E_CANTCLOSEOBJ_g)
|
||||
#define H5E_COMPLEN (H5OPEN H5E_COMPLEN_g)
|
||||
#define H5E_CWG (H5OPEN H5E_CWG_g)
|
||||
#define H5E_LINK (H5OPEN H5E_LINK_g)
|
||||
#define H5E_SLINK (H5OPEN H5E_SLINK_g)
|
||||
H5_DLLVAR hid_t H5E_CANTOPENOBJ_g; /* Can't open object */
|
||||
H5_DLLVAR hid_t H5E_CANTCLOSEOBJ_g; /* Can't close object */
|
||||
H5_DLLVAR hid_t H5E_COMPLEN_g; /* Name component is too long */
|
||||
H5_DLLVAR hid_t H5E_CWG_g; /* Problem with current working group */
|
||||
H5_DLLVAR hid_t H5E_LINK_g; /* Link count failure */
|
||||
H5_DLLVAR hid_t H5E_SLINK_g; /* Symbolic link error */
|
||||
/* Parallel MPI errors */
|
||||
#define H5E_MPI (H5OPEN H5E_MPI_g)
|
||||
#define H5E_MPIERRSTR (H5OPEN H5E_MPIERRSTR_g)
|
||||
H5_DLLVAR hid_t H5E_MPI_g; /* Some MPI function failed */
|
||||
H5_DLLVAR hid_t H5E_MPIERRSTR_g; /* MPI Error String */
|
||||
|
||||
/* File accessability errors */
|
||||
#define H5E_FILEEXISTS (H5OPEN H5E_FILEEXISTS_g)
|
||||
@ -208,6 +124,96 @@ H5_DLLVAR hid_t H5E_BADFILE_g; /* Bad file ID accessed */
|
||||
H5_DLLVAR hid_t H5E_TRUNCATED_g; /* File has been truncated */
|
||||
H5_DLLVAR hid_t H5E_MOUNT_g; /* File mount error */
|
||||
|
||||
/* Resource errors */
|
||||
#define H5E_NOSPACE (H5OPEN H5E_NOSPACE_g)
|
||||
#define H5E_CANTCOPY (H5OPEN H5E_CANTCOPY_g)
|
||||
#define H5E_CANTFREE (H5OPEN H5E_CANTFREE_g)
|
||||
#define H5E_ALREADYEXISTS (H5OPEN H5E_ALREADYEXISTS_g)
|
||||
#define H5E_CANTLOCK (H5OPEN H5E_CANTLOCK_g)
|
||||
#define H5E_CANTUNLOCK (H5OPEN H5E_CANTUNLOCK_g)
|
||||
#define H5E_CANTGC (H5OPEN H5E_CANTGC_g)
|
||||
#define H5E_CANTGETSIZE (H5OPEN H5E_CANTGETSIZE_g)
|
||||
H5_DLLVAR hid_t H5E_NOSPACE_g; /* No space available for allocation */
|
||||
H5_DLLVAR hid_t H5E_CANTCOPY_g; /* Unable to copy object */
|
||||
H5_DLLVAR hid_t H5E_CANTFREE_g; /* Unable to free object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYEXISTS_g;/* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTLOCK_g; /* Unable to lock object */
|
||||
H5_DLLVAR hid_t H5E_CANTUNLOCK_g; /* Unable to unlock object */
|
||||
H5_DLLVAR hid_t H5E_CANTGC_g; /* Unable to garbage collect */
|
||||
H5_DLLVAR hid_t H5E_CANTGETSIZE_g; /* Unable to compute size */
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
#define H5E_CANTMAKETREE (H5OPEN H5E_CANTMAKETREE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTMAKETREE_g; /* Can't create a binary tree node */
|
||||
|
||||
/* Property list errors */
|
||||
#define H5E_CANTGET (H5OPEN H5E_CANTGET_g)
|
||||
#define H5E_CANTSET (H5OPEN H5E_CANTSET_g)
|
||||
#define H5E_DUPCLASS (H5OPEN H5E_DUPCLASS_g)
|
||||
H5_DLLVAR hid_t H5E_CANTGET_g; /* Can't get value */
|
||||
H5_DLLVAR hid_t H5E_CANTSET_g; /* Can't set value */
|
||||
H5_DLLVAR hid_t H5E_DUPCLASS_g; /* Duplicate class name in parent class */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
#define H5E_CANTINIT (H5OPEN H5E_CANTINIT_g)
|
||||
#define H5E_ALREADYINIT (H5OPEN H5E_ALREADYINIT_g)
|
||||
#define H5E_CANTRELEASE (H5OPEN H5E_CANTRELEASE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTINIT_g; /* Unable to initialize object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYINIT_g; /* Object already initialized */
|
||||
H5_DLLVAR hid_t H5E_CANTRELEASE_g; /* Unable to release object */
|
||||
|
||||
/* Group related errors */
|
||||
#define H5E_CANTOPENOBJ (H5OPEN H5E_CANTOPENOBJ_g)
|
||||
#define H5E_CANTCLOSEOBJ (H5OPEN H5E_CANTCLOSEOBJ_g)
|
||||
#define H5E_COMPLEN (H5OPEN H5E_COMPLEN_g)
|
||||
#define H5E_CWG (H5OPEN H5E_CWG_g)
|
||||
#define H5E_LINK (H5OPEN H5E_LINK_g)
|
||||
#define H5E_SLINK (H5OPEN H5E_SLINK_g)
|
||||
H5_DLLVAR hid_t H5E_CANTOPENOBJ_g; /* Can't open object */
|
||||
H5_DLLVAR hid_t H5E_CANTCLOSEOBJ_g; /* Can't close object */
|
||||
H5_DLLVAR hid_t H5E_COMPLEN_g; /* Name component is too long */
|
||||
H5_DLLVAR hid_t H5E_CWG_g; /* Problem with current working group */
|
||||
H5_DLLVAR hid_t H5E_LINK_g; /* Link count failure */
|
||||
H5_DLLVAR hid_t H5E_SLINK_g; /* Symbolic link error */
|
||||
|
||||
/* Object header related errors */
|
||||
#define H5E_LINKCOUNT (H5OPEN H5E_LINKCOUNT_g)
|
||||
#define H5E_VERSION (H5OPEN H5E_VERSION_g)
|
||||
#define H5E_ALIGNMENT (H5OPEN H5E_ALIGNMENT_g)
|
||||
#define H5E_BADMESG (H5OPEN H5E_BADMESG_g)
|
||||
#define H5E_CANTDELETE (H5OPEN H5E_CANTDELETE_g)
|
||||
H5_DLLVAR hid_t H5E_LINKCOUNT_g; /* Bad object header link count */
|
||||
H5_DLLVAR hid_t H5E_VERSION_g; /* Wrong version number */
|
||||
H5_DLLVAR hid_t H5E_ALIGNMENT_g; /* Alignment error */
|
||||
H5_DLLVAR hid_t H5E_BADMESG_g; /* Unrecognized message */
|
||||
H5_DLLVAR hid_t H5E_CANTDELETE_g; /* Can't delete message */
|
||||
|
||||
/* Argument errors */
|
||||
#define H5E_UNINITIALIZED (H5OPEN H5E_UNINITIALIZED_g)
|
||||
#define H5E_UNSUPPORTED (H5OPEN H5E_UNSUPPORTED_g)
|
||||
#define H5E_BADTYPE (H5OPEN H5E_BADTYPE_g)
|
||||
#define H5E_BADRANGE (H5OPEN H5E_BADRANGE_g)
|
||||
#define H5E_BADVALUE (H5OPEN H5E_BADVALUE_g)
|
||||
H5_DLLVAR hid_t H5E_UNINITIALIZED_g;/* Information is uinitialized */
|
||||
H5_DLLVAR hid_t H5E_UNSUPPORTED_g; /* Feature is unsupported */
|
||||
H5_DLLVAR hid_t H5E_BADTYPE_g; /* Inappropriate type */
|
||||
H5_DLLVAR hid_t H5E_BADRANGE_g; /* Out of range */
|
||||
H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
|
||||
|
||||
/* Dataspace errors */
|
||||
#define H5E_CANTCLIP (H5OPEN H5E_CANTCLIP_g)
|
||||
#define H5E_CANTCOUNT (H5OPEN H5E_CANTCOUNT_g)
|
||||
#define H5E_CANTSELECT (H5OPEN H5E_CANTSELECT_g)
|
||||
#define H5E_CANTNEXT (H5OPEN H5E_CANTNEXT_g)
|
||||
#define H5E_BADSELECT (H5OPEN H5E_BADSELECT_g)
|
||||
#define H5E_CANTCOMPARE (H5OPEN H5E_CANTCOMPARE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTCLIP_g; /* Can't clip hyperslab region */
|
||||
H5_DLLVAR hid_t H5E_CANTCOUNT_g; /* Can't count elements */
|
||||
H5_DLLVAR hid_t H5E_CANTSELECT_g; /* Can't select hyperslab */
|
||||
H5_DLLVAR hid_t H5E_CANTNEXT_g; /* Can't move to next iterator location */
|
||||
H5_DLLVAR hid_t H5E_BADSELECT_g; /* Invalid selection */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPARE_g; /* Can't compare objects */
|
||||
|
||||
/* Object atom related errors */
|
||||
#define H5E_BADATOM (H5OPEN H5E_BADATOM_g)
|
||||
#define H5E_BADGROUP (H5OPEN H5E_BADGROUP_g)
|
||||
@ -222,6 +228,32 @@ H5_DLLVAR hid_t H5E_CANTINC_g; /* Unable to increment reference count */
|
||||
H5_DLLVAR hid_t H5E_CANTDEC_g; /* Unable to decrement reference count */
|
||||
H5_DLLVAR hid_t H5E_NOIDS_g; /* Out of IDs for group */
|
||||
|
||||
/* B-tree related errors */
|
||||
#define H5E_NOTFOUND (H5OPEN H5E_NOTFOUND_g)
|
||||
#define H5E_EXISTS (H5OPEN H5E_EXISTS_g)
|
||||
#define H5E_CANTENCODE (H5OPEN H5E_CANTENCODE_g)
|
||||
#define H5E_CANTDECODE (H5OPEN H5E_CANTDECODE_g)
|
||||
#define H5E_CANTSPLIT (H5OPEN H5E_CANTSPLIT_g)
|
||||
#define H5E_CANTINSERT (H5OPEN H5E_CANTINSERT_g)
|
||||
#define H5E_CANTLIST (H5OPEN H5E_CANTLIST_g)
|
||||
H5_DLLVAR hid_t H5E_NOTFOUND_g; /* Object not found */
|
||||
H5_DLLVAR hid_t H5E_EXISTS_g; /* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTENCODE_g; /* Unable to encode value */
|
||||
H5_DLLVAR hid_t H5E_CANTDECODE_g; /* Unable to decode value */
|
||||
H5_DLLVAR hid_t H5E_CANTSPLIT_g; /* Unable to split node */
|
||||
H5_DLLVAR hid_t H5E_CANTINSERT_g; /* Unable to insert object */
|
||||
H5_DLLVAR hid_t H5E_CANTLIST_g; /* Unable to list node */
|
||||
|
||||
/* FPHDF5 errors */
|
||||
#define H5E_CANTRECV (H5OPEN H5E_CANTRECV_g)
|
||||
#define H5E_CANTSENDMDATA (H5OPEN H5E_CANTSENDMDATA_g)
|
||||
#define H5E_CANTCHANGE (H5OPEN H5E_CANTCHANGE_g)
|
||||
#define H5E_CANTALLOC (H5OPEN H5E_CANTALLOC_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRECV_g; /* Can't receive messages from processes */
|
||||
H5_DLLVAR hid_t H5E_CANTSENDMDATA_g;/* Can't send metadata message */
|
||||
H5_DLLVAR hid_t H5E_CANTCHANGE_g; /* Can't register change with server */
|
||||
H5_DLLVAR hid_t H5E_CANTALLOC_g; /* Can't allocate from file */
|
||||
|
||||
/* Cache related errors */
|
||||
#define H5E_CANTFLUSH (H5OPEN H5E_CANTFLUSH_g)
|
||||
#define H5E_CANTSERIALIZE (H5OPEN H5E_CANTSERIALIZE_g)
|
||||
@ -244,53 +276,17 @@ H5_DLLVAR hid_t H5E_CANTRENAME_g; /* Unable to rename metadata */
|
||||
H5_DLLVAR hid_t H5E_CANTPROTECT_g; /* Unable to protect metadata */
|
||||
H5_DLLVAR hid_t H5E_CANTUNPROTECT_g;/* Unable to unprotect metadata */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
#define H5E_MPI (H5OPEN H5E_MPI_g)
|
||||
#define H5E_MPIERRSTR (H5OPEN H5E_MPIERRSTR_g)
|
||||
H5_DLLVAR hid_t H5E_MPI_g; /* Some MPI function failed */
|
||||
H5_DLLVAR hid_t H5E_MPIERRSTR_g; /* MPI Error String */
|
||||
|
||||
/* Dataspace errors */
|
||||
#define H5E_CANTCLIP (H5OPEN H5E_CANTCLIP_g)
|
||||
#define H5E_CANTCOUNT (H5OPEN H5E_CANTCOUNT_g)
|
||||
#define H5E_CANTSELECT (H5OPEN H5E_CANTSELECT_g)
|
||||
#define H5E_CANTNEXT (H5OPEN H5E_CANTNEXT_g)
|
||||
#define H5E_BADSELECT (H5OPEN H5E_BADSELECT_g)
|
||||
#define H5E_CANTCOMPARE (H5OPEN H5E_CANTCOMPARE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTCLIP_g; /* Can't clip hyperslab region */
|
||||
H5_DLLVAR hid_t H5E_CANTCOUNT_g; /* Can't count elements */
|
||||
H5_DLLVAR hid_t H5E_CANTSELECT_g; /* Can't select hyperslab */
|
||||
H5_DLLVAR hid_t H5E_CANTNEXT_g; /* Can't move to next iterator location */
|
||||
H5_DLLVAR hid_t H5E_BADSELECT_g; /* Invalid selection */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPARE_g; /* Can't compare objects */
|
||||
|
||||
/* B-tree related errors */
|
||||
#define H5E_NOTFOUND (H5OPEN H5E_NOTFOUND_g)
|
||||
#define H5E_EXISTS (H5OPEN H5E_EXISTS_g)
|
||||
#define H5E_CANTENCODE (H5OPEN H5E_CANTENCODE_g)
|
||||
#define H5E_CANTDECODE (H5OPEN H5E_CANTDECODE_g)
|
||||
#define H5E_CANTSPLIT (H5OPEN H5E_CANTSPLIT_g)
|
||||
#define H5E_CANTINSERT (H5OPEN H5E_CANTINSERT_g)
|
||||
#define H5E_CANTLIST (H5OPEN H5E_CANTLIST_g)
|
||||
H5_DLLVAR hid_t H5E_NOTFOUND_g; /* Object not found */
|
||||
H5_DLLVAR hid_t H5E_EXISTS_g; /* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTENCODE_g; /* Unable to encode value */
|
||||
H5_DLLVAR hid_t H5E_CANTDECODE_g; /* Unable to decode value */
|
||||
H5_DLLVAR hid_t H5E_CANTSPLIT_g; /* Unable to split node */
|
||||
H5_DLLVAR hid_t H5E_CANTINSERT_g; /* Unable to insert object */
|
||||
H5_DLLVAR hid_t H5E_CANTLIST_g; /* Unable to list node */
|
||||
|
||||
/* Argument errors */
|
||||
#define H5E_UNINITIALIZED (H5OPEN H5E_UNINITIALIZED_g)
|
||||
#define H5E_UNSUPPORTED (H5OPEN H5E_UNSUPPORTED_g)
|
||||
#define H5E_BADTYPE (H5OPEN H5E_BADTYPE_g)
|
||||
#define H5E_BADRANGE (H5OPEN H5E_BADRANGE_g)
|
||||
#define H5E_BADVALUE (H5OPEN H5E_BADVALUE_g)
|
||||
H5_DLLVAR hid_t H5E_UNINITIALIZED_g;/* Information is uinitialized */
|
||||
H5_DLLVAR hid_t H5E_UNSUPPORTED_g; /* Feature is unsupported */
|
||||
H5_DLLVAR hid_t H5E_BADTYPE_g; /* Inappropriate type */
|
||||
H5_DLLVAR hid_t H5E_BADRANGE_g; /* Out of range */
|
||||
H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
|
||||
/* I/O pipeline errors */
|
||||
#define H5E_NOFILTER (H5OPEN H5E_NOFILTER_g)
|
||||
#define H5E_CALLBACK (H5OPEN H5E_CALLBACK_g)
|
||||
#define H5E_CANAPPLY (H5OPEN H5E_CANAPPLY_g)
|
||||
#define H5E_SETLOCAL (H5OPEN H5E_SETLOCAL_g)
|
||||
#define H5E_NOENCODER (H5OPEN H5E_NOENCODER_g)
|
||||
H5_DLLVAR hid_t H5E_NOFILTER_g; /* Requested filter is not available */
|
||||
H5_DLLVAR hid_t H5E_CALLBACK_g; /* Callback failed */
|
||||
H5_DLLVAR hid_t H5E_CANAPPLY_g; /* Error from filter 'can apply' callback */
|
||||
H5_DLLVAR hid_t H5E_SETLOCAL_g; /* Error from filter 'set local' callback */
|
||||
H5_DLLVAR hid_t H5E_NOENCODER_g; /* Filter present but encoding disabled */
|
||||
|
||||
/* Datatype conversion errors */
|
||||
#define H5E_CANTCONVERT (H5OPEN H5E_CANTCONVERT_g)
|
||||
@ -298,4 +294,8 @@ H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
|
||||
H5_DLLVAR hid_t H5E_CANTCONVERT_g; /* Can't convert datatypes */
|
||||
H5_DLLVAR hid_t H5E_BADSIZE_g; /* Bad size for object */
|
||||
|
||||
/* Heap errors */
|
||||
#define H5E_CANTRESTORE (H5OPEN H5E_CANTRESTORE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRESTORE_g; /* Can't restore condition */
|
||||
|
||||
#endif /* H5Epubgen_H */
|
||||
|
210
src/H5Eterm.h
210
src/H5Eterm.h
@ -21,41 +21,38 @@
|
||||
|
||||
/* Reset major error IDs */
|
||||
|
||||
H5E_DATASET_g=
|
||||
H5E_FUNC_g=
|
||||
H5E_STORAGE_g=
|
||||
H5E_FILE_g=
|
||||
H5E_FPHDF5_g=
|
||||
H5E_SYM_g=
|
||||
H5E_VFL_g=
|
||||
H5E_INTERNAL_g=
|
||||
H5E_BTREE_g=
|
||||
H5E_REFERENCE_g=
|
||||
H5E_DATASPACE_g=
|
||||
H5E_RESOURCE_g=
|
||||
H5E_PLIST_g=
|
||||
H5E_DATATYPE_g=
|
||||
H5E_RS_g=
|
||||
H5E_HEAP_g=
|
||||
H5E_OHDR_g=
|
||||
H5E_TBBT_g=
|
||||
H5E_ATOM_g=
|
||||
H5E_ATTR_g=
|
||||
H5E_IO_g=
|
||||
H5E_SLIST_g=
|
||||
H5E_EFL_g=
|
||||
H5E_TST_g=
|
||||
H5E_ARGS_g=
|
||||
H5E_DATASET_g=
|
||||
H5E_DATASPACE_g=
|
||||
H5E_VFL_g=
|
||||
H5E_RESOURCE_g=
|
||||
H5E_ERROR_g=
|
||||
H5E_TBBT_g=
|
||||
H5E_PLIST_g=
|
||||
H5E_FUNC_g=
|
||||
H5E_OHDR_g=
|
||||
H5E_ARGS_g=
|
||||
H5E_SLIST_g=
|
||||
H5E_REFERENCE_g=
|
||||
H5E_ATOM_g=
|
||||
H5E_BTREE_g=
|
||||
H5E_CACHE_g=
|
||||
H5E_STORAGE_g=
|
||||
H5E_EFL_g=
|
||||
H5E_PLINE_g=
|
||||
H5E_CACHE_g= (-1);
|
||||
H5E_IO_g=
|
||||
H5E_SYM_g=
|
||||
H5E_TST_g=
|
||||
H5E_ATTR_g=
|
||||
H5E_DATATYPE_g=
|
||||
H5E_FPHDF5_g=
|
||||
H5E_INTERNAL_g=
|
||||
H5E_HEAP_g= (-1);
|
||||
|
||||
/* Reset minor error IDs */
|
||||
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
H5E_CANTMAKETREE_g=
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
H5E_SEEKERROR_g=
|
||||
H5E_READERROR_g=
|
||||
@ -64,56 +61,9 @@ H5E_CLOSEERROR_g=
|
||||
H5E_OVERFLOW_g=
|
||||
H5E_FCNTL_g=
|
||||
|
||||
/* Resource errors */
|
||||
H5E_NOSPACE_g=
|
||||
H5E_CANTCOPY_g=
|
||||
H5E_CANTFREE_g=
|
||||
H5E_ALREADYEXISTS_g=
|
||||
H5E_CANTLOCK_g=
|
||||
H5E_CANTUNLOCK_g=
|
||||
H5E_CANTGC_g=
|
||||
H5E_CANTGETSIZE_g=
|
||||
|
||||
/* Heap errors */
|
||||
H5E_CANTRESTORE_g=
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
H5E_CANTINIT_g=
|
||||
H5E_ALREADYINIT_g=
|
||||
H5E_CANTRELEASE_g=
|
||||
|
||||
/* Property list errors */
|
||||
H5E_CANTGET_g=
|
||||
H5E_CANTSET_g=
|
||||
H5E_DUPCLASS_g=
|
||||
|
||||
/* Object header related errors */
|
||||
H5E_LINKCOUNT_g=
|
||||
H5E_VERSION_g=
|
||||
H5E_ALIGNMENT_g=
|
||||
H5E_BADMESG_g=
|
||||
H5E_CANTDELETE_g=
|
||||
|
||||
/* FPHDF5 errors */
|
||||
H5E_CANTRECV_g=
|
||||
H5E_CANTSENDMDATA_g=
|
||||
H5E_CANTCHANGE_g=
|
||||
H5E_CANTALLOC_g=
|
||||
|
||||
/* I/O pipeline errors */
|
||||
H5E_NOFILTER_g=
|
||||
H5E_CALLBACK_g=
|
||||
H5E_CANAPPLY_g=
|
||||
H5E_SETLOCAL_g=
|
||||
H5E_NOENCODER_g=
|
||||
|
||||
/* Group related errors */
|
||||
H5E_CANTOPENOBJ_g=
|
||||
H5E_CANTCLOSEOBJ_g=
|
||||
H5E_COMPLEN_g=
|
||||
H5E_CWG_g=
|
||||
H5E_LINK_g=
|
||||
H5E_SLINK_g=
|
||||
/* Parallel MPI errors */
|
||||
H5E_MPI_g=
|
||||
H5E_MPIERRSTR_g=
|
||||
|
||||
/* File accessability errors */
|
||||
H5E_FILEEXISTS_g=
|
||||
@ -126,6 +76,59 @@ H5E_BADFILE_g=
|
||||
H5E_TRUNCATED_g=
|
||||
H5E_MOUNT_g=
|
||||
|
||||
/* Resource errors */
|
||||
H5E_NOSPACE_g=
|
||||
H5E_CANTCOPY_g=
|
||||
H5E_CANTFREE_g=
|
||||
H5E_ALREADYEXISTS_g=
|
||||
H5E_CANTLOCK_g=
|
||||
H5E_CANTUNLOCK_g=
|
||||
H5E_CANTGC_g=
|
||||
H5E_CANTGETSIZE_g=
|
||||
|
||||
/* Threaded, balanced binary tree errors */
|
||||
H5E_CANTMAKETREE_g=
|
||||
|
||||
/* Property list errors */
|
||||
H5E_CANTGET_g=
|
||||
H5E_CANTSET_g=
|
||||
H5E_DUPCLASS_g=
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
H5E_CANTINIT_g=
|
||||
H5E_ALREADYINIT_g=
|
||||
H5E_CANTRELEASE_g=
|
||||
|
||||
/* Group related errors */
|
||||
H5E_CANTOPENOBJ_g=
|
||||
H5E_CANTCLOSEOBJ_g=
|
||||
H5E_COMPLEN_g=
|
||||
H5E_CWG_g=
|
||||
H5E_LINK_g=
|
||||
H5E_SLINK_g=
|
||||
|
||||
/* Object header related errors */
|
||||
H5E_LINKCOUNT_g=
|
||||
H5E_VERSION_g=
|
||||
H5E_ALIGNMENT_g=
|
||||
H5E_BADMESG_g=
|
||||
H5E_CANTDELETE_g=
|
||||
|
||||
/* Argument errors */
|
||||
H5E_UNINITIALIZED_g=
|
||||
H5E_UNSUPPORTED_g=
|
||||
H5E_BADTYPE_g=
|
||||
H5E_BADRANGE_g=
|
||||
H5E_BADVALUE_g=
|
||||
|
||||
/* Dataspace errors */
|
||||
H5E_CANTCLIP_g=
|
||||
H5E_CANTCOUNT_g=
|
||||
H5E_CANTSELECT_g=
|
||||
H5E_CANTNEXT_g=
|
||||
H5E_BADSELECT_g=
|
||||
H5E_CANTCOMPARE_g=
|
||||
|
||||
/* Object atom related errors */
|
||||
H5E_BADATOM_g=
|
||||
H5E_BADGROUP_g=
|
||||
@ -134,6 +137,21 @@ H5E_CANTINC_g=
|
||||
H5E_CANTDEC_g=
|
||||
H5E_NOIDS_g=
|
||||
|
||||
/* B-tree related errors */
|
||||
H5E_NOTFOUND_g=
|
||||
H5E_EXISTS_g=
|
||||
H5E_CANTENCODE_g=
|
||||
H5E_CANTDECODE_g=
|
||||
H5E_CANTSPLIT_g=
|
||||
H5E_CANTINSERT_g=
|
||||
H5E_CANTLIST_g=
|
||||
|
||||
/* FPHDF5 errors */
|
||||
H5E_CANTRECV_g=
|
||||
H5E_CANTSENDMDATA_g=
|
||||
H5E_CANTCHANGE_g=
|
||||
H5E_CANTALLOC_g=
|
||||
|
||||
/* Cache related errors */
|
||||
H5E_CANTFLUSH_g=
|
||||
H5E_CANTSERIALIZE_g=
|
||||
@ -146,36 +164,18 @@ H5E_CANTRENAME_g=
|
||||
H5E_CANTPROTECT_g=
|
||||
H5E_CANTUNPROTECT_g=
|
||||
|
||||
/* Parallel MPI errors */
|
||||
H5E_MPI_g=
|
||||
H5E_MPIERRSTR_g=
|
||||
|
||||
/* Dataspace errors */
|
||||
H5E_CANTCLIP_g=
|
||||
H5E_CANTCOUNT_g=
|
||||
H5E_CANTSELECT_g=
|
||||
H5E_CANTNEXT_g=
|
||||
H5E_BADSELECT_g=
|
||||
H5E_CANTCOMPARE_g=
|
||||
|
||||
/* B-tree related errors */
|
||||
H5E_NOTFOUND_g=
|
||||
H5E_EXISTS_g=
|
||||
H5E_CANTENCODE_g=
|
||||
H5E_CANTDECODE_g=
|
||||
H5E_CANTSPLIT_g=
|
||||
H5E_CANTINSERT_g=
|
||||
H5E_CANTLIST_g=
|
||||
|
||||
/* Argument errors */
|
||||
H5E_UNINITIALIZED_g=
|
||||
H5E_UNSUPPORTED_g=
|
||||
H5E_BADTYPE_g=
|
||||
H5E_BADRANGE_g=
|
||||
H5E_BADVALUE_g=
|
||||
/* I/O pipeline errors */
|
||||
H5E_NOFILTER_g=
|
||||
H5E_CALLBACK_g=
|
||||
H5E_CANAPPLY_g=
|
||||
H5E_SETLOCAL_g=
|
||||
H5E_NOENCODER_g=
|
||||
|
||||
/* Datatype conversion errors */
|
||||
H5E_CANTCONVERT_g=
|
||||
H5E_BADSIZE_g= (-1);
|
||||
H5E_BADSIZE_g=
|
||||
|
||||
/* Heap errors */
|
||||
H5E_CANTRESTORE_g= (-1);
|
||||
|
||||
#endif /* H5Eterm_H */
|
||||
|
@ -77,10 +77,10 @@ extern "C" {
|
||||
/* Version numbers */
|
||||
#define H5_VERS_MAJOR 1 /* For major interface/format changes */
|
||||
#define H5_VERS_MINOR 7 /* For minor interface/format changes */
|
||||
#define H5_VERS_RELEASE 44 /* For tweaks, bug-fixes, or development */
|
||||
#define H5_VERS_RELEASE 45 /* For tweaks, bug-fixes, or development */
|
||||
#define H5_VERS_SUBRELEASE "" /* For pre-releases like snap0 */
|
||||
/* Empty string for real releases. */
|
||||
#define H5_VERS_INFO "HDF5 library version: 1.7.44" /* Full version string */
|
||||
#define H5_VERS_INFO "HDF5 library version: 1.7.45" /* Full version string */
|
||||
|
||||
#define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \
|
||||
H5_VERS_RELEASE)
|
||||
|
Loading…
Reference in New Issue
Block a user