 |
8.0 Error messages
The CError.h file contains the declarations for the error reporting mechanism used in the C Library interface to the Legion system. Below are the identifiers and their codes.
#define LEGION_NO_ERROR 0
#define LEGION_NOT_A_LOID 1
#define LEGION_NOT_IN_CONTEXT_SPACE 2
#define LEGION_UNKNOWN_ERROR 3
#define LEGION_CONTEXT_SPACE_INVALID 4
#define LEGION_ROOT_CONTEXT_ALREADY_EXISTS 5
#define LEGION_CONTEXT_ALREADY_EXISTS 6
#define LEGION_NO_CONTEXT_CLASS 7
#define LEGION_CONTEXT_CREATE_FAILED 8
#define LEGION_UNABLE_TO_ADD_PATH 9
#define LEGION_METHOD_TIMED_OUT 10
#define LEGION_BAD_ATTRIBUTE_FORMAT 11
#define LEGION_UNABLE_TO_GET_INTERFACE 12
#define LEGION_PARM_ALREADY_EXISTS 13
#define LEGION_PARM_DOES_NOT_EXIST 14
#define LEGION_PARM_WRONG_TYPE 15
#define LEGION_PARM_NO_DATA 16
#define LEGION_PARM_UNABLE_TO_REPLACE 17
#define LEGION_NOT_A_CLASS 18
#define LEGION_NOT_A_HOST 19
#define LEGION_NOT_A_VAULT 20
#define LEGION_NOT_AN_IMPL 21
#define LOID_NOT_EXPECTED 22
#define LOID_EXPECTED 23
#define LEGION_PARM_TYPE_UNKNOWN 24
#define LEGION_ OUTCALL_FAILED 25
#define LEGION_OUTCALL_PERMISSION_DENIED 26
#define LEGION_CLASS_NOT_FOUND 27
#define LEGION_BAD_ARGUMENT 28
#define LEGION_OBJECT_TYPE 29
#define LEGION_NO_CURRENT_CONTEXT 30
#define LEGION_OBJECT_NOT_FOUND 31
#define LEGION_INTERNAL_ERROR 32
#define LEGION_EMPTY_LOID 33
legion@Virginia.edu
http://legion.virginia.edu/
|