classadErrno.h

00001 /***************************************************************
00002  *
00003  * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
00004  * University of Wisconsin-Madison, WI.
00005  * 
00006  * Licensed under the Apache License, Version 2.0 (the "License"); you
00007  * may not use this file except in compliance with the License.  You may
00008  * obtain a copy of the License at
00009  * 
00010  *    http://www.apache.org/licenses/LICENSE-2.0
00011  * 
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  *
00018  ***************************************************************/
00019 
00020 
00021 #ifndef __CLASSAD_CLASSAD_ERRNO_H__
00022 #define __CLASSAD_CLASSAD_ERRNO_H__
00023 
00024 #include "classad/common.h"
00025 
00026 BEGIN_NAMESPACE(classad)
00027 
00028 static const int ERR_OK                     = 0;
00029 static const int ERR_MEM_ALLOC_FAILED       = 1;
00030 
00031 static const int ERR_BAD_VALUE              = 255;
00032 static const int ERR_FAILED_SET_VIEW_NAME   = 256;
00033 static const int ERR_NO_RANK_EXPR           = 257;
00034 static const int ERR_NO_REQUIREMENTS_EXPR   = 258;
00035 static const int ERR_BAD_PARTITION_EXPRS    = 259;
00036 static const int ERR_PARTITION_EXISTS       = 260;
00037 static const int ERR_MISSING_ATTRNAME       = 261;
00038 static const int ERR_BAD_EXPRESSION         = 262;
00039 static const int ERR_INVALID_IDENTIFIER     = 263;
00040 static const int ERR_MISSING_ATTRIBUTE      = 264;
00041 static const int ERR_NO_SUCH_VIEW           = 265;
00042 static const int ERR_VIEW_PRESENT           = 266;
00043 static const int ERR_TRANSACTION_EXISTS     = 267;
00044 static const int ERR_NO_SUCH_TRANSACTION    = 268;
00045 static const int ERR_NO_REPRESENTATIVE      = 269;
00046 static const int ERR_NO_PARENT_VIEW         = 270;
00047 static const int ERR_BAD_VIEW_INFO          = 271;
00048 static const int ERR_BAD_TRANSACTION_STATE  = 272;
00049 static const int ERR_NO_SUCH_CLASSAD        = 273;
00050 static const int ERR_BAD_CLASSAD            = 275;
00051 static const int ERR_NO_KEY                 = 276;
00052 static const int ERR_LOG_OPEN_FAILED        = 277;
00053 static const int ERR_BAD_LOG_FILENAME       = 278;
00054 static const int ERR_NO_VIEW_NAME           = 379;
00055 static const int ERR_RENAME_FAILED          = 280;
00056 static const int ERR_NO_TRANSACTION_NAME    = 281;
00057 static const int ERR_PARSE_ERROR            = 282;
00058 static const int ERR_INTERNAL_CACHE_ERROR   = 283;
00059 static const int ERR_FILE_WRITE_FAILED      = 284;
00060 static const int ERR_FATAL_ERROR            = 285;
00061 static const int ERR_CANNOT_CHANGE_MODE     = 286;
00062 static const int ERR_CONNECT_FAILED         = 287;
00063 static const int ERR_CLIENT_NOT_CONNECTED   = 288;
00064 static const int ERR_COMMUNICATION_ERROR    = 289;
00065 static const int ERR_BAD_CONNECTION_TYPE    = 290;
00066 static const int ERR_BAD_SERVER_ACK         = 291;
00067 static const int ERR_CANNOT_REPLACE             =292;
00068 
00069 static const int ERR_CACHE_SWITCH_ERROR         =293;
00070 static const int ERR_CACHE_FILE_ERROR           =294;
00071 static const int ERR_CACHE_CLASSAD_ERROR           =295;
00072 
00073 static const int ERR_CANT_LOAD_DYNAMIC_LIBRARY = 296;
00074 END_NAMESPACE //classad
00075 
00076 #endif
00077 
00078 
00079 
00080 
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends