oaTechException.h

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

Return to top of page