00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __CLASSAD_ERRNO_H__
00025 #define __CLASSAD_ERRNO_H__
00026
00027 #include "common.h"
00028
00029 BEGIN_NAMESPACE(classad)
00030
00031
00032 #if defined(CLASSAD_DISTRIBUTION)
00033 static const int ERR_OK = 0;
00034 static const int ERR_MEM_ALLOC_FAILED = 1;
00035 #endif
00036
00037 static const int ERR_BAD_VALUE = 255;
00038 static const int ERR_FAILED_SET_VIEW_NAME = 256;
00039 static const int ERR_NO_RANK_EXPR = 257;
00040 static const int ERR_NO_REQUIREMENTS_EXPR = 258;
00041 static const int ERR_BAD_PARTITION_EXPRS = 259;
00042 static const int ERR_PARTITION_EXISTS = 260;
00043 static const int ERR_MISSING_ATTRNAME = 261;
00044 static const int ERR_BAD_EXPRESSION = 262;
00045 static const int ERR_INVALID_IDENTIFIER = 263;
00046 static const int ERR_MISSING_ATTRIBUTE = 264;
00047 static const int ERR_NO_SUCH_VIEW = 265;
00048 static const int ERR_VIEW_PRESENT = 266;
00049 static const int ERR_TRANSACTION_EXISTS = 267;
00050 static const int ERR_NO_SUCH_TRANSACTION = 268;
00051 static const int ERR_NO_REPRESENTATIVE = 269;
00052 static const int ERR_NO_PARENT_VIEW = 270;
00053 static const int ERR_BAD_VIEW_INFO = 271;
00054 static const int ERR_BAD_TRANSACTION_STATE = 272;
00055 static const int ERR_NO_SUCH_CLASSAD = 273;
00056 static const int ERR_BAD_CLASSAD = 275;
00057 static const int ERR_NO_KEY = 276;
00058 static const int ERR_LOG_OPEN_FAILED = 277;
00059 static const int ERR_BAD_LOG_FILENAME = 278;
00060 static const int ERR_NO_VIEW_NAME = 379;
00061 static const int ERR_RENAME_FAILED = 280;
00062 static const int ERR_NO_TRANSACTION_NAME = 281;
00063 static const int ERR_PARSE_ERROR = 282;
00064 static const int ERR_INTERNAL_CACHE_ERROR = 283;
00065 static const int ERR_FILE_WRITE_FAILED = 284;
00066 static const int ERR_FATAL_ERROR = 285;
00067 static const int ERR_CANNOT_CHANGE_MODE = 286;
00068 static const int ERR_CONNECT_FAILED = 287;
00069 static const int ERR_CLIENT_NOT_CONNECTED = 288;
00070 static const int ERR_COMMUNICATION_ERROR = 289;
00071 static const int ERR_BAD_CONNECTION_TYPE = 290;
00072 static const int ERR_BAD_SERVER_ACK = 291;
00073 static const int ERR_CANNOT_REPLACE =292;
00074
00075 static const int ERR_CACHE_SWITCH_ERROR =293;
00076 static const int ERR_CACHE_FILE_ERROR =294;
00077 static const int ERR_CACHE_CLASSAD_ERROR =295;
00078
00079 static const int ERR_CANT_LOAD_DYNAMIC_LIBRARY = 296;
00080 END_NAMESPACE
00081
00082 #endif
00083
00084
00085
00086