diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-04-09 01:53:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-04-09 01:53:31 (GMT) |
commit | cbb1e0c9525a6f2542362c792bf9802e2e3a2048 (patch) | |
tree | 69d8472f1706aa2a4ee9b7151c6ad9b71233e0c7 | |
parent | 831841b58f634e7902ba67b8fa2ba37a090cf881 (diff) | |
download | hdf5-cbb1e0c9525a6f2542362c792bf9802e2e3a2048.zip hdf5-cbb1e0c9525a6f2542362c792bf9802e2e3a2048.tar.gz hdf5-cbb1e0c9525a6f2542362c792bf9802e2e3a2048.tar.bz2 |
[svn-r6606] Purpose:
New feature
Description:
Added new error descriptions.
Solution:
Platforms tested:
FreeBSD 4.8 (sleipnir) w/szip
Linux 2.4 (sleipnir) w/szip
Solaris 2.7 (arabica) w/FORTRAN
IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel
Misc. update:
-rw-r--r-- | src/H5E.c | 23 | ||||
-rw-r--r-- | src/H5Epublic.h | 9 |
2 files changed, 23 insertions, 9 deletions
@@ -156,17 +156,17 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { {H5E_SLINK, "Symbolic link error"}, /* Datatype conversion errors */ - {H5E_CANTCONVERT, "Can't convert datatypes"}, - {H5E_BADSIZE, "Bad size for object"}, + {H5E_CANTCONVERT, "Can't convert datatypes"}, + {H5E_BADSIZE, "Bad size for object"}, /* Dataspace errors */ - {H5E_CANTCLIP, "Can't clip hyperslab region"}, - {H5E_CANTCOUNT, "Can't count elements"}, + {H5E_CANTCLIP, "Can't clip hyperslab region"}, + {H5E_CANTCOUNT, "Can't count elements"}, /* Property list errors */ - {H5E_CANTGET, "Can't get value"}, - {H5E_CANTSET, "Can't set value"}, - {H5E_DUPCLASS, "Duplicate class name in parent class"}, + {H5E_CANTGET, "Can't get value"}, + {H5E_CANTSET, "Can't set value"}, + {H5E_DUPCLASS, "Duplicate class name in parent class"}, /* Parallel MPI errors */ {H5E_MPI, "Some MPI function failed"}, @@ -177,7 +177,14 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = { {H5E_CANTRECV, "Can't receive messages from processes"}, {H5E_CANTSENDMDATA, "Can't send metadata message"}, {H5E_CANTCHANGE, "Can't register change with server"}, - {H5E_CANTALLOC, "Can't allocate from file"} + {H5E_CANTALLOC, "Can't allocate from file"}, + + /* I/O pipeline errors */ + {H5E_NOFILTER, "Requested filter is not available"}, + {H5E_CALLBACK, "Callback failed"}, + {H5E_CANAPPLY, "Error from filter \"can apply\" callback"}, + {H5E_SETLOCAL, "Error from filter \"set local\" callback"} + }; /* Interface initialization? */ diff --git a/src/H5Epublic.h b/src/H5Epublic.h index b520745..d390f22 100644 --- a/src/H5Epublic.h +++ b/src/H5Epublic.h @@ -208,7 +208,14 @@ typedef enum H5E_minor_t { H5E_CANTRECV, /*can't receive messages from processes */ H5E_CANTSENDMDATA, /*can't send metadata message */ H5E_CANTCHANGE, /*can't register change on server */ - H5E_CANTALLOC /*can't allocate from file */ + H5E_CANTALLOC, /*can't allocate from file */ + + /* I/O pipeline errors */ + H5E_NOFILTER, /*requested filter is not available */ + H5E_CALLBACK, /*callback failed */ + H5E_CANAPPLY, /*error from filter "can apply" callback */ + H5E_SETLOCAL /*error from filter "set local" callback */ + } H5E_minor_t; /* Information about an error */ |