1 /****************************************************************************
2 ** $Id: dl_exception.h 163 2003-07-01 15:51:48Z andrew $
4 ** Copyright (C) 2001-2003 RibbonSoft. All rights reserved.
5 ** Copyright (C) 2001 Robert J. Campbell Jr.
7 ** This file is part of the dxflib project.
9 ** This file may be distributed and/or modified under the terms of the
10 ** GNU General Public License version 2 as published by the Free Software
11 ** Foundation and appearing in the file LICENSE.GPL included in the
12 ** packaging of this file.
14 ** Licensees holding valid dxflib Professional Edition licenses may use
15 ** this file in accordance with the dxflib Commercial License
16 ** Agreement provided with the Software.
18 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 ** See http://www.ribbonsoft.com for further details.
23 ** Contact info@ribbonsoft.com if any conditions of this licensing are
26 **********************************************************************/
28 #ifndef DL_EXCEPTION_H
29 #define DL_EXCEPTION_H
33 #endif // _MSC_VER > 1000
36 * Used for exception handling.
42 * Used for exception handling.
44 class DL_NullStrExc : public DL_Exception {}
48 * Used for exception handling.
50 class DL_GroupCodeExc : public DL_Exception {
51 DL_GroupCodeExc(int gc=0) : groupCode(gc) {}