GEOS: AssertionFailedException.h Source File

GEOS 3.5.0

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

- File List

AssertionFailedException.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2001-2002 Vivid Solutions Inc.
7 * Copyright (C) 2006 Refractions Research Inc.
8 *
9 * This is free software; you can redistribute and/or modify it under
10 * the terms of the GNU Lesser General Public Licence as published
11 * by the Free Software Foundation.
12 * See the COPYING file for more information.
13 *
14 **********************************************************************/
15
16 #ifndef GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
17 #define GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
18
19 #include <geos/export.h>
20 #include <string>
21
22 #include <geos/util/GEOSException.h>
23
24 namespace geos {
25 namespace util { // geos.util
26
30 class GEOS_DLL AssertionFailedException: public GEOSException {
31
32 public:
33
34 AssertionFailedException()
35 :
36 GEOSException("AssertionFailedException", "")
37 {}
38
39 AssertionFailedException(const std::string& msg)
40 :
41 GEOSException("AssertionFailedException", msg)
42 {}
43
44 ~AssertionFailedException() throw() {}
45 };
46
47 } // namespace geos.util
48 } // namespace geos
49
50
51 #endif // GEOS_UTIL_ASSERTIONFAILEDEXCEPTION_H
geos::util::AssertionFailedException
Indicates a bug in GEOS code.
Definition: AssertionFailedException.h:30
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::util::GEOSException
Base class for all GEOS exceptions.
Definition: GEOSException.h:38