Horizon
dl_exception.h
1 /****************************************************************************
2 ** Copyright (C) 2001-2013 RibbonSoft, GmbH. 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 is free software; you can redistribute it and/or modify
8 ** it under the terms of the GNU General Public License as published by
9 ** the Free Software Foundation; either version 2 of the License, or
10 ** (at your option) any later version.
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 #include "dl_global.h"
30 
31 #if _MSC_VER > 1000
32 #pragma once
33 #endif // _MSC_VER > 1000
34 
38 class DXFLIB_EXPORT DL_Exception {}
39 ;
40 
44 class DXFLIB_EXPORT DL_NullStrExc : public DL_Exception {}
45 ;
46 
50 class DXFLIB_EXPORT DL_GroupCodeExc : public DL_Exception {
51  DL_GroupCodeExc(int gc=0) : groupCode(gc) {}
52  int groupCode;
53 };
54 #endif
55 
DL_Exception
Used for exception handling.
Definition: dl_exception.h:37
DL_NullStrExc
Used for exception handling.
Definition: dl_exception.h:43
DL_GroupCodeExc
Used for exception handling.
Definition: dl_exception.h:49