File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/esri/core/geometry/ogc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ public static OGCGeometry fromEsriShape(ByteBuffer buffer) {
496496 }
497497
498498 public static OGCGeometry fromJson (String string )
499- throws Exception {
499+ throws JsonParseException , IOException {
500500 JsonFactory factory = new JsonFactory ();
501501 JsonParser jsonParserPt = factory .createJsonParser (string );
502502 jsonParserPt .nextToken ();
@@ -506,7 +506,7 @@ public static OGCGeometry fromJson(String string)
506506 }
507507
508508 public static OGCGeometry fromGeoJson (String string )
509- throws Exception {
509+ throws JsonParseException , IOException {
510510 OperatorImportFromGeoJson op = (OperatorImportFromGeoJson ) OperatorFactoryLocal
511511 .getInstance ().getOperator (Operator .Type .ImportFromGeoJson );
512512 MapOGCStructure mapOGCStructure = op .executeOGC (0 , string , null );
You can’t perform that action at this time.
0 commit comments