[geos-commits] r3014 - trunk/src/linearref
svn_geos at osgeo.org
svn_geos at osgeo.org
Sat Jun 19 07:23:44 EDT 2010
Author: strk
Date: 2010-06-19 11:23:44 +0000 (Sat, 19 Jun 2010)
New Revision: 3014
Modified:
trunk/src/linearref/LinearIterator.cpp
Log:
The thrown error shall make sense...
Modified: trunk/src/linearref/LinearIterator.cpp
===================================================================
--- trunk/src/linearref/LinearIterator.cpp 2010-06-19 11:16:26 UTC (rev 3013)
+++ trunk/src/linearref/LinearIterator.cpp 2010-06-19 11:23:44 UTC (rev 3014)
@@ -76,7 +76,7 @@
}
currentLine = dynamic_cast<const LineString *> (linear->getGeometryN(componentIndex));
if ( ! currentLine ) {
- throw util::IllegalArgumentException("computed index is before specified minimum index");
+ throw util::IllegalArgumentException("LinearIterator only supports lineal geometry components");
}
}
More information about the geos-commits
mailing list