00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // sdException.h 00004 // 00005 // This file contains the definitions for the classes which return information 00006 // about schema definition exceptions. 00007 // 00008 // sdException 00009 // This is the base class for sd exceptions. 00010 // 00011 // sdError 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 2002-2005 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(sdException_P) 00034 #define sdException_P 00035 00036 00037 00038 // ***************************************************************************** 00039 // Nested includes 00040 // ***************************************************************************** 00041 #include "oaException.h" 00042 00043 #include "sdBaseTypes.h" 00044 00045 00046 00047 // ***************************************************************************** 00048 // Declare and define types in the schema definition namespace. 00049 // ***************************************************************************** 00050 BEGIN_SD_NAMESPACE 00051 00052 00053 00054 // ***************************************************************************** 00055 // sdException 00056 // ***************************************************************************** 00057 class SD_DLL_API sdException : public oa::oaException { 00058 public: 00059 sdException(oa::oaUInt4 msgIdIn); 00060 00061 virtual const oa::oaString &getFormatString() const; 00062 }; 00063 00064 00065 00066 // ***************************************************************************** 00067 // sdError 00068 // ***************************************************************************** 00069 class SD_DLL_API sdError : public sdException { 00070 public: 00071 sdError(oa::oaUInt4 msgIdIn, 00072 ...); 00073 }; 00074 00075 00076 00077 END_SD_NAMESPACE 00078 00079 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.