/src/geos/src/algorithm/NotRepresentableException.cpp
Line | Count | Source |
1 | | /********************************************************************** |
2 | | * |
3 | | * GEOS - Geometry Engine Open Source |
4 | | * http://geos.osgeo.org |
5 | | * |
6 | | * Copyright (C) 2001-2002 Vivid Solutions Inc. |
7 | | * |
8 | | * This is free software; you can redistribute and/or modify it under |
9 | | * the terms of the GNU Lesser General Public Licence as published |
10 | | * by the Free Software Foundation. |
11 | | * See the COPYING file for more information. |
12 | | * |
13 | | **********************************************************************/ |
14 | | |
15 | | #include <geos/algorithm/NotRepresentableException.h> |
16 | | |
17 | | #include <string> |
18 | | |
19 | | namespace geos { |
20 | | namespace algorithm { // geos.algorithm |
21 | | |
22 | | NotRepresentableException::NotRepresentableException() |
23 | | : |
24 | 0 | GEOSException( |
25 | 0 | "NotRepresentableException", |
26 | 0 | "Projective point not representable on the Cartesian plane.") |
27 | | |
28 | 0 | { |
29 | 0 | } |
30 | | |
31 | | NotRepresentableException::NotRepresentableException(std::string msg) |
32 | | : |
33 | 0 | GEOSException( |
34 | 0 | "NotRepresentableException", msg) |
35 | 0 | { |
36 | 0 | } |
37 | | |
38 | | } // namespace geos.algorithm |
39 | | } // namespace geos |
40 | | |