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

VRErrorCode.H

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 //
00020 // VRErrorCode.H
00021 // Last modified on Mon Sep 22 13:35:57 EDT 2003 by ken@xorian.net
00022 //      modified on Thu Aug 24 13:43:12 PDT 2000 by mann
00023 //
00024 
00025 #ifndef _VREC
00026 #define _VREC 1
00027 
00028 class VRErrorCode {
00029  public:
00030   enum errorCode { ok = 0,           // No error.
00031                    notFound,         // Name not bound.
00032                    noPermission,     // Access control violation.
00033                    nameInUse,        // Name was already bound.
00034                    inappropriateOp,  // E.g., insert in immutableDirectory.
00035                    nameTooLong,
00036                    rpcFailure,       // Callout from repository (to evaluator
00037                                      //   or to another repository) failed.
00038                    notADirectory,    // Directory op on nondirectory.
00039                    isADirectory,     // Nondirectory op on directory.
00040                    invalidArgs,      // Catchall; e.g., rename would loop
00041                    outOfSpace,
00042                    notMaster,
00043 
00044                    longIdOverflow    // Attempt to create something
00045                                      // that would have a LongId > 32
00046                                      // bytes
00047 
00048   };
00049 };
00050 
00051 #endif // _VREC

Generated on Mon May 8 00:48:54 2006 for Vesta by  doxygen 1.4.2