00001 /**************************************************************************** 00002 ** $Id: dl_exception.h 3591 2006-10-18 21:23:25Z andrew $ 00003 ** 00004 ** Copyright (C) 2001-2003 RibbonSoft. All rights reserved. 00005 ** Copyright (C) 2001 Robert J. Campbell Jr. 00006 ** 00007 ** This file is part of the dxflib project. 00008 ** 00009 ** This file may be distributed and/or modified under the terms of the 00010 ** GNU General Public License version 2 as published by the Free Software 00011 ** Foundation and appearing in the file LICENSE.GPL included in the 00012 ** packaging of this file. 00013 ** 00014 ** Licensees holding valid dxflib Professional Edition licenses may use 00015 ** this file in accordance with the dxflib Commercial License 00016 ** Agreement provided with the Software. 00017 ** 00018 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00019 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00020 ** 00021 ** See http://www.ribbonsoft.com for further details. 00022 ** 00023 ** Contact [email protected] if any conditions of this licensing are 00024 ** not clear to you. 00025 ** 00026 **********************************************************************/ 00027 00028 #ifndef DL_EXCEPTION_H 00029 #define DL_EXCEPTION_H 00030 00031 #if _MSC_VER > 1000 00032 #pragma once 00033 #endif // _MSC_VER > 1000 00034 00038 class DL_Exception {} 00039 ; 00040 00044 class DL_NullStrExc : public DL_Exception {} 00045 ; 00046 00050 class DL_GroupCodeExc : public DL_Exception { 00051 DL_GroupCodeExc(int gc=0) : groupCode(gc) {} 00052 int groupCode; 00053 }; 00054 #endif 00055