GEOS: ParseException.h Source File

GEOS 3.5.0

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

- File List

ParseException.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2005-2006 Refractions Research Inc.
7 * Copyright (C) 2001-2002 Vivid Solutions 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 * Last port: io/ParseException.java rev. 1.13 (JTS-1.10)
17 *
18 **********************************************************************/
19
20 #ifndef GEOS_IO_PARSEEXCEPTION_H
21 #define GEOS_IO_PARSEEXCEPTION_H
22
23 #include <geos/export.h>
24
25 #include <geos/util/GEOSException.h>
26
27 namespace geos {
28 namespace io {
29
34 class GEOS_DLL ParseException : public util::GEOSException
35 {
36
37 public:
38
39 ParseException();
40
41 ParseException(const std::string& msg);
42
43 ParseException(const std::string& msg, const std::string& var);
44
45 ParseException(const std::string& msg, double num);
46
47 ~ParseException() throw() {}
48
49 private:
50 static std::string stringify(double num);
51 };
52
53 } // namespace io
54 } // namespace geos
55
56 #endif // #ifndef GEOS_IO_PARSEEXCEPTION_H
geos::io::ParseException
Notifies a parsing error.
Definition: ParseException.h:34
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::util::GEOSException
Base class for all GEOS exceptions.
Definition: GEOSException.h:38