GEOS 3.3.8

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

AssertionFailedException.h
1 /**********************************************************************
2 * $Id: AssertionFailedException.h 2556 2009-06-06 22:22:28Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2001-2002 Vivid Solutions Inc.
8 * Copyright (C) 2006 Refractions Research Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************/
16
17 #ifndef GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
18 #define GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
19
20 #include <geos/export.h>
21 #include <string>
22
23 #include <geos/util/GEOSException.h>
24
25 namespace geos {
26 namespace util { // geos.util
27
31 class GEOS_DLL AssertionFailedException: public GEOSException {
32
33 public:
34
35 AssertionFailedException()
36 :
37 GEOSException("AssertionFailedException", "")
38 {}
39
40 AssertionFailedException(const std::string& msg)
41 :
42 GEOSException("AssertionFailedException", msg)
43 {}
44
45 ~AssertionFailedException() throw() {}
46 };
47
48 } // namespace geos.util
49 } // namespace geos
50
51
52 #endif // GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
53
54 /**********************************************************************
55 * $Log$
56 * Revision 1.1 2006/03/09 16:46:49 strk
57 * geos::geom namespace definition, first pass at headers split
58 *
59 **********************************************************************/