diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-12 18:31:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-12 18:31:50 (GMT) |
commit | d482fed23b592111eab1667d1afb6c401f9f830c (patch) | |
tree | 2c5c1eaa34ae5c2953059cdca5af0bb832e75d00 | |
parent | 58b9c34fc585c66c6a1b74eeb5dc48e132cc879b (diff) | |
download | hdf5-d482fed23b592111eab1667d1afb6c401f9f830c.zip hdf5-d482fed23b592111eab1667d1afb6c401f9f830c.tar.gz hdf5-d482fed23b592111eab1667d1afb6c401f9f830c.tar.bz2 |
[svn-r5783] Purpose:
New code
Description:
Add a few new error messages.
Platforms tested:
FreeBSD 4.6 (sleipnir)
-rw-r--r-- | src/H5E.c | 4 | ||||
-rw-r--r-- | src/H5Epublic.h | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -97,8 +97,9 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { {H5E_OVERFLOW, "Address overflowed"}, /* Function entry/exit interface errors */ - {H5E_CANTINIT, "Unable to initialize"}, + {H5E_CANTINIT, "Unable to initialize object"}, {H5E_ALREADYINIT, "Object already initialized"}, + {H5E_CANTRELEASE, "Unable to release object"}, /* Object atom related errors */ {H5E_BADATOM, "Unable to find atom information (already closed?)"}, @@ -137,6 +138,7 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { /* Datatype conversion errors */ {H5E_CANTCONVERT, "Can't convert datatypes"}, + {H5E_BADSIZE, "Bad size for object"}, /* Dataspace errors */ {H5E_CANTCLIP, "Can't clip hyperslab region"}, diff --git a/src/H5Epublic.h b/src/H5Epublic.h index 1b37f15..3458aa6 100644 --- a/src/H5Epublic.h +++ b/src/H5Epublic.h @@ -137,8 +137,9 @@ typedef enum H5E_minor_t { H5E_OVERFLOW, /*address overflowed */ /* Function entry/exit interface errors */ - H5E_CANTINIT, /*Can't initialize */ + H5E_CANTINIT, /*Can't initialize object */ H5E_ALREADYINIT, /*object already initialized */ + H5E_CANTRELEASE, /*Can't release object */ /* Object atom related errors */ H5E_BADATOM, /*Can't find atom information */ @@ -177,6 +178,7 @@ typedef enum H5E_minor_t { /* Datatype conversion errors */ H5E_CANTCONVERT, /*Can't convert datatypes */ + H5E_BADSIZE, /*Bad size for object */ /* Dataspace errors */ H5E_CANTCLIP, /*Can't clip hyperslab region */ |