00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaCMException.h 00004 // 00005 // This file contains the definitions for the classes which return information 00006 // about schema definition exceptions. 00007 // 00008 // oaCMException 00009 // This is the base class for sd exceptions. 00010 // 00011 // oaCMError 00012 // This concrete class is used to throw sd exceptions and supports variable 00013 // number of arguments. 00014 // 00015 // ***************************************************************************** 00016 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00017 // Integration Initiative, this material may not be copied, modified, 00018 // re-published, uploaded, executed, or distributed in any way, in any medium, 00019 // in whole or in part, without prior written permission from Cadence. 00020 // 00021 // Copyright 2007 Cadence Design Systems, Inc. 00022 // All Rights Reserved. 00023 // 00024 // $Author: icftcm $ 00025 // $Revision: #1 $ 00026 // $Date: 2007/03/20 $ 00027 // $State: Exp $ 00028 // ***************************************************************************** 00029 // ***************************************************************************** 00030 00031 00032 00033 #if !defined(oaCMException_P) 00034 #define oaCMException_P 00035 00036 00037 00038 // ***************************************************************************** 00039 // Nested includes 00040 // ***************************************************************************** 00041 #include "oaException.h" 00042 #include "oaCMBaseTypes.h" 00043 00044 00045 00046 // ***************************************************************************** 00047 // Declare and define types in the OpenAccess namespace. 00048 // ***************************************************************************** 00049 BEGIN_OA_NAMESPACE 00050 00051 00052 00053 // ***************************************************************************** 00054 // oaCMException 00055 // ***************************************************************************** 00056 class OA_CM_DLL_API oaCMException : public oaException { 00057 public: 00058 oaCMException(oa::oaUInt4 msgIdIn); 00059 00060 virtual const oaString &getFormatString() const; 00061 }; 00062 00063 00064 00065 // ***************************************************************************** 00066 // oaCMError 00067 // ***************************************************************************** 00068 class OA_CM_DLL_API oaCMError : public oaCMException { 00069 public: 00070 oaCMError(oa::oaUInt4 msgIdIn, 00071 ...); 00072 }; 00073 00074 00075 00076 END_OA_NAMESPACE 00077 00078 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.