OW_ExceptionIds.hpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * Copyright (C) 2004 Vintela, Inc. All rights reserved.
00003 *
00004 * Redistribution and use in source and binary forms, with or without
00005 * modification, are permitted provided that the following conditions are met:
00006 *
00007 *  - Redistributions of source code must retain the above copyright notice,
00008 *    this list of conditions and the following disclaimer.
00009 *
00010 *  - Redistributions in binary form must reproduce the above copyright notice,
00011 *    this list of conditions and the following disclaimer in the documentation
00012 *    and/or other materials provided with the distribution.
00013 *
00014 *  - Neither the name of Vintela, Inc. nor the names of its
00015 *    contributors may be used to endorse or promote products derived from this
00016 *    software without specific prior written permission.
00017 *
00018 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00019 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021 * ARE DISCLAIMED. IN NO EVENT SHALL Vintela, Inc. OR THE CONTRIBUTORS
00022 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00023 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00024 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00025 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00026 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00027 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00028 * POSSIBILITY OF SUCH DAMAGE.
00029 *******************************************************************************/
00030 
00035 #ifndef OW_EXCEPTION_IDS_HPP_INCLUDE_GUARD
00036 #define OW_EXCEPTION_IDS_HPP_INCLUDE_GUARD
00037 #include "OW_config.h"
00038 
00039 namespace OW_NAMESPACE
00040 {
00041    namespace ExceptionIds
00042    {
00043       // The purpose of this file/namespace is to centralize all the exception subclass id numbers,
00044       // in order to to prevent id conflicts.  Numbering starts from 1.
00045 
00046       // common library
00047       static const int CIMExceptionId = 1;
00048       static const int CIMErrorExceptionId = 2;
00049       static const int HTTPExceptionId = 3;
00050       static const int XMLParseExceptionId = 4;
00051       static const int AssertionExceptionId = 5;
00052       static const int ValueCastExceptionId = 6;
00053       static const int AuthenticationExceptionId = 7;
00054       static const int CIMProtocolExceptionId = 8;
00055       static const int UnknownHostExceptionId = 9;
00056       static const int SocketAddressExceptionId = 10;
00057       static const int SocketExceptionId = 11;
00058       static const int SocketTimeoutExceptionId = 12;
00059       static const int ConditionLockExceptionId = 13;
00060       static const int ConditionResourceExceptionId = 14;
00061       static const int ConfigExceptionId = 15;
00062       static const int NULLCOWReferenceExceptionId = 16;
00063       static const int DateTimeExceptionId = 17;
00064       static const int EnumerationExceptionId = 18;
00065       static const int ExecTimeoutExceptionId = 19;
00066       static const int ExecBufferFullExceptionId = 20;
00067       static const int ExecErrorExceptionId = 21;
00068       static const int IOExceptionId = 22;
00069       static const int BadCIMSignatureExceptionId = 23;
00070       static const int LoggerExceptionId = 24;
00071       static const int DeadlockExceptionId = 25;
00072       static const int NoSuchPropertyExceptionId = 26;
00073       static const int NoSuchProviderExceptionId = 27;
00074       static const int NoSuchQualifierExceptionId = 28;
00075       static const int NULLValueExceptionId = 29;
00076       static const int ContextDataNotFoundExceptionId = 30;
00077       static const int OutOfBoundsExceptionId = 31;
00078       static const int FileSystemExceptionId = 32;
00079       static const int RWLockerExceptionId = 33;
00080       static const int NULLReferenceExceptionId = 34;
00081       static const int SelectExceptionId = 35;
00082       static const int SharedLibraryExceptionId = 36;
00083       static const int StringConversionExceptionId = 37;
00084       static const int TimeoutExceptionId = 38;
00085       static const int ThreadExceptionId = 39;
00086       static const int CancellationDeniedExceptionId = 40;
00087       static const int ThreadBarrierExceptionId = 41;
00088       static const int MalformedURLExceptionId = 42;
00089       static const int UUIDExceptionId = 43;
00090       static const int UnnamedPipeExceptionId = 44;
00091       static const int InvalidUTF8ExceptionId = 45;
00092       static const int CmdLineParserExceptionId = 46;
00093       static const int NULLCOWIntrusiveReferenceExceptionId = 47;
00094       static const int LogMessagePatternFormatterExceptionId = 48;
00095       static const int CIMDateTimeExceptionId = 49;
00096       static const int CryptographicRandomNumberExceptionId = 50;
00097       static const int SSLExceptionId = 51;
00098 
00099       // http
00100       static const int Base64FormatExceptionId = 1001;
00101       static const int UnescapeCharForURLExceptionId = 1002;
00102       static const int MD5ExceptionId = 1003;
00103 
00104       // xml
00105       static const int DOMExceptionId = 2001;
00106 
00107       // client
00108       static const int CIMOMLocatorExceptionId = 3001;
00109 
00110       // http server
00111       static const int HTTPServerExceptionId = 4001;
00112 
00113       // wql
00114       static const int TypeMismatchExceptionId = 5001;
00115 
00116       // cim/xml request handler
00117       static const int BadStreamExceptionId = 6001;
00118 
00119       // repository
00120       static const int HDBExceptionId = 7001;
00121       static const int IndexExceptionId = 7002;
00122 
00123       // server
00124       static const int AuthManagerExceptionId = 8001;
00125       static const int DaemonExceptionId = 8002;
00126       static const int CIMOMEnvironmentExceptionId = 8003;
00127       static const int IndicationServerExceptionId = 8004;
00128       static const int EmbeddedCIMOMEnvironmentExceptionId = 8005; 
00129 
00130       // mof compiler lib
00131       static const int MOFCompilerExceptionId = 9001;
00132       static const int ParseFatalErrorExceptionId = 9002;
00133 
00134       // cpp provider interface
00135       static const int CppProviderIFCExceptionId = 10001;
00136 
00137       // OWBI1 provider interface
00138       static const int BI1ProviderIFCExceptionId = 11001;
00139    }
00140 }
00141 
00142 #endif
00143 

Generated on Thu Feb 9 08:47:59 2006 for openwbem by  doxygen 1.4.6