Main Page | Class Hierarchy | Class List | File List | Class Members

classadErrno.h

00001 /*********************************************************************
00002  *
00003  * Condor ClassAd library
00004  * Copyright (C) 1990-2003, Condor Team, Computer Sciences Department,
00005  * University of Wisconsin-Madison, WI and Rajesh Raman.
00006  *
00007  * This source code is covered by the Condor Public License, which can
00008  * be found in the accompanying LICENSE file, or online at
00009  * www.condorproject.org.
00010  *
00011  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00012  * AND THE UNIVERSITY OF WISCONSIN-MADISON "AS IS" AND ANY EXPRESS OR
00013  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00014  * WARRANTIES OF MERCHANTABILITY, OF SATISFACTORY QUALITY, AND FITNESS
00015  * FOR A PARTICULAR PURPOSE OR USE ARE DISCLAIMED. THE COPYRIGHT
00016  * HOLDERS AND CONTRIBUTORS AND THE UNIVERSITY OF WISCONSIN-MADISON
00017  * MAKE NO MAKE NO REPRESENTATION THAT THE SOFTWARE, MODIFICATIONS,
00018  * ENHANCEMENTS OR DERIVATIVE WORKS THEREOF, WILL NOT INFRINGE ANY
00019  * PATENT, COPYRIGHT, TRADEMARK, TRADE SECRET OR OTHER PROPRIETARY
00020  * RIGHT.
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 // bring in Condor system errors used if not in Condor
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 //classad
00081 
00082 #endif
00083 
00084 
00085 
00086