ExceptionIds.hpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * Copyright (C) 2004 Vintela, Inc. All rights reserved.
00003 * Copyright (C) 2005 Novell, Inc. All rights reserved.
00004 *
00005 * Redistribution and use in source and binary forms, with or without
00006 * modification, are permitted provided that the following conditions are met:
00007 *
00008 *  - Redistributions of source code must retain the above copyright notice,
00009 *    this list of conditions and the following disclaimer.
00010 *
00011 *  - Redistributions in binary form must reproduce the above copyright notice,
00012 *    this list of conditions and the following disclaimer in the documentation
00013 *    and/or other materials provided with the distribution.
00014 *
00015 *  - Neither the name of Vintela, Inc., Novell, Inc., nor the names of its
00016 *    contributors may be used to endorse or promote products derived from this
00017 *    software without specific prior written permission.
00018 *
00019 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00020 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00021 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00022 * ARE DISCLAIMED. IN NO EVENT SHALL Vintela, Inc., Novell, Inc., OR THE 
00023 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
00024 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
00025 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
00026 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
00027 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
00028 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
00029 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030 *******************************************************************************/
00031 
00032 
00037 #ifndef BLOCXX_EXCEPTION_IDS_HPP_INCLUDE_GUARD
00038 #define BLOCXX_EXCEPTION_IDS_HPP_INCLUDE_GUARD
00039 #include "blocxx/BLOCXX_config.h"
00040 
00041 namespace BLOCXX_NAMESPACE
00042 {
00043    namespace ExceptionIds
00044    {
00045       // The purpose of this file/namespace is to centralize all the exception subclass id numbers,
00046       // in order to to prevent id conflicts.  Numbering starts from 
00047       // -1 and decreases
00048 
00049       // common library
00050       static const int AssertionExceptionId = -5;
00051       static const int UnknownHostExceptionId = -9;
00052       static const int SocketAddressExceptionId = -10;
00053       static const int SocketExceptionId = -11;
00054       static const int SocketTimeoutExceptionId = -12;
00055       static const int ConditionLockExceptionId = -13;
00056       static const int ConditionResourceExceptionId = -14;
00057       static const int NULLCOWReferenceExceptionId = -16;
00058       static const int DateTimeExceptionId = -17;
00059       static const int EnumerationExceptionId = -18;
00060       static const int ExecTimeoutExceptionId = -19;
00061       static const int ExecBufferFullExceptionId = -20;
00062       static const int ExecErrorExceptionId = -21;
00063       static const int IOExceptionId = -22;
00064       static const int BadSignatureExceptionId = -23;
00065       static const int LoggerExceptionId = -24;
00066       static const int DeadlockExceptionId = -25;
00067       static const int NULLValueExceptionId = -29;
00068       static const int OutOfBoundsExceptionId = -31;
00069       static const int FileSystemExceptionId = -32;
00070       static const int RWLockerExceptionId = -33;
00071       static const int NULLReferenceExceptionId = -34;
00072       static const int SelectExceptionId = -35;
00073       static const int SharedLibraryExceptionId = -36;
00074       static const int StringConversionExceptionId = -37;
00075       static const int TimeoutExceptionId = -38;
00076       static const int ThreadExceptionId = -39;
00077       static const int CancellationDeniedExceptionId = -40;
00078       static const int ThreadBarrierExceptionId = -41;
00079       static const int UUIDExceptionId = -43;
00080       static const int UnnamedPipeExceptionId = -44;
00081       static const int InvalidUTF8ExceptionId = -45;
00082       static const int CmdLineParserExceptionId = -46;
00083       static const int NULLCOWIntrusiveReferenceExceptionId = -47;
00084       static const int LogMessagePatternFormatterExceptionId = -48;
00085       static const int CryptographicRandomNumberExceptionId = -50;
00086       static const int SSLExceptionId = -51;
00087 
00088       // http
00089       static const int MD5ExceptionId = -1003;
00090 
00091       // new to BloCxx
00092       static const int IPCMutexExceptionId = -5001;
00093       static const int RegExCompileExceptionId = -5002;
00094       static const int RegExExecuteExceptionId = -5003;
00095    }
00096 }
00097 
00098 #endif
00099 

Generated on Fri Jun 16 15:39:08 2006 for blocxx by  doxygen 1.4.6