00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaDesignException.h 00004 // 00005 // This file contains the definitions for the classes which return information 00006 // for design database exceptions. 00007 // 00008 // oaDesignException 00009 // This is the base class for design database exceptions. 00010 // 00011 // oaDesignError 00012 // This concrete class is used to throw design database exceptions and 00013 // supports variable 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 2002-2005 Cadence Design Systems, Inc. 00022 // All Rights Reserved. 00023 // 00024 // $Author: icftcm $ 00025 // $Revision: #1 $ 00026 // $Date: 2010/08/09 $ 00027 // $State: Exp $ 00028 // ***************************************************************************** 00029 // ***************************************************************************** 00030 00031 00032 00033 #if !defined(oaDesignException_P) 00034 #define oaDesignException_P 00035 00036 00037 00038 // ***************************************************************************** 00039 // Nested includes 00040 // ***************************************************************************** 00041 #include "oaException.h" 00042 #include "oaDesignDBTypes.h" 00043 00044 00045 00046 // ***************************************************************************** 00047 // Declare and define types in the OpenAccess namespace. 00048 // ***************************************************************************** 00049 BEGIN_OA_NAMESPACE 00050 00051 00052 00053 // ***************************************************************************** 00054 // oaDesignException 00055 // ***************************************************************************** 00056 class OA_DESIGN_DLL_API oaDesignException : public oaException { 00057 public: 00058 oaDesignException(oaUInt4 msgIdIn); 00059 00060 virtual const oaString &getFormatString() const; 00061 }; 00062 00063 00064 00065 // ***************************************************************************** 00066 // oaDesignError 00067 // ***************************************************************************** 00068 class OA_DESIGN_DLL_API oaDesignError : public oaDesignException { 00069 public: 00070 oaDesignError(oaUInt4 msgIdIn, 00071 ...); 00072 }; 00073 00074 00075 00076 END_OA_NAMESPACE 00077 00078 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.