QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dl_exception.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** Copyright (C) 2001-2011 RibbonSoft. All rights reserved.
3 ** Copyright (C) 2001 Robert J. Campbell Jr.
4 **
5 ** This file is part of the dxflib project.
6 **
7 ** This file may be distributed and/or modified under the terms of the
8 ** GNU General Public License version 2 as published by the Free Software
9 ** Foundation and appearing in the file LICENSE.GPL included in the
10 ** packaging of this file.
11 **
12 ** Licensees holding valid dxflib Professional Edition licenses may use
13 ** this file in accordance with the dxflib Commercial License
14 ** Agreement provided with the Software.
15 **
16 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 **
19 ** See http://www.ribbonsoft.com for further details.
20 **
21 ** Contact info@ribbonsoft.com if any conditions of this licensing are
22 ** not clear to you.
23 **
24 **********************************************************************/
25 
26 #ifndef DL_EXCEPTION_H
27 #define DL_EXCEPTION_H
28 
29 #if _MSC_VER > 1000
30 #pragma once
31 #endif // _MSC_VER > 1000
32 
36 class DL_Exception {}
37 ;
38 
42 class DL_NullStrExc : public DL_Exception {}
43 ;
44 
48 class DL_GroupCodeExc : public DL_Exception {
49  DL_GroupCodeExc(int gc=0) : groupCode(gc) {}
50  int groupCode;
51 };
52 #endif
53