mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-24 00:03:17 -05:00
Updating to work with java 1.6
This commit is contained in:
@@ -3283,7 +3283,13 @@ public class JSONObject {
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
|
||||
} catch (NoSuchMethodException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (InstantiationException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (InvocationTargetException e) {
|
||||
throw new JSONException(e);
|
||||
}
|
||||
}
|
||||
@@ -3331,7 +3337,13 @@ public class JSONObject {
|
||||
}
|
||||
}
|
||||
return collection;
|
||||
} catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
|
||||
} catch (NoSuchMethodException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (InstantiationException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new JSONException(e);
|
||||
} catch (InvocationTargetException e) {
|
||||
throw new JSONException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user