Skip to content

Commit 4063920

Browse files
committed
added another missing "throws"
1 parent 213b478 commit 4063920

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

unittest/com/esri/core/geometry/TestGeomToGeoJson.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import junit.framework.TestCase;
3131
import org.codehaus.jackson.JsonFactory;
3232
import org.codehaus.jackson.JsonParser;
33+
import org.json.JSONException;
3334
import org.junit.Test;
3435

3536
import java.io.IOException;
@@ -241,7 +242,7 @@ public void testMultiPolygon() throws IOException {
241242

242243

243244
@Test
244-
public void testEmptyPolygon() {
245+
public void testEmptyPolygon() throws JSONException {
245246
Polygon p = new Polygon();
246247
OperatorExportToGeoJson exporter = (OperatorExportToGeoJson) factory.getOperator(Operator.Type.ExportToGeoJson);
247248
String result = exporter.execute(p);

0 commit comments

Comments
 (0)