From d482fed23b592111eab1667d1afb6c401f9f830c Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 12 Jul 2002 13:31:50 -0500 Subject: [svn-r5783] Purpose: New code Description: Add a few new error messages. Platforms tested: FreeBSD 4.6 (sleipnir) --- src/H5E.c | 4 +++- src/H5Epublic.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/H5E.c b/src/H5E.c index 5fa67a9..dcd293d 100644 --- a/src/H5E.c +++ b/src/H5E.c @@ -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 */ -- cgit v0.12