use of com.revolsys.geometry.wkb.ParseException in project com.revolsys.open by revolsys.
the class WKTReaderExpTest method readBad.
private void readBad(final String wkt) throws IOException {
boolean threwParseEx = false;
try {
final Geometry g = this.rdr.read(wkt);
} catch (final ParseException ex) {
// System.out.println(ex.getMessage());
threwParseEx = true;
}
assertTrue(threwParseEx);
}
use of com.revolsys.geometry.wkb.ParseException in project com.revolsys.open by revolsys.
the class WKTReaderParseErrorTest method readBad.
private void readBad(final String wkt) throws IOException {
boolean threwParseEx = false;
try {
final Geometry g = this.rdr.read(wkt);
} catch (final ParseException ex) {
// System.out.println(ex.getMessage());
threwParseEx = true;
}
assertTrue(threwParseEx);
}
Aggregations