120121122123124125126127128129
public String getString(int index) throws JSONException { try { return delegate.getString(index); } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
134135136137138139140141142143
if (obj == null) { return null; } return new ApacheJSONArrayDelegate(obj); } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
148149150151152153154155156157
if (obj == null) { return null; } return new ApacheJSONObjectDelegate(obj); } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
186187188189190191192193194195
public JSONArray put(Collection value) throws JSONException { try { delegate.put(value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
197198199200201202203204205206
public JSONArray put(int index, boolean value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
208209210211212213214215216217
public JSONArray put(int index, Collection value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
219220221222223224225226227228
public JSONArray put(int index, double value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
230231232233234235236237238239
public JSONArray put(int index, int value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
241242243244245246247248249250
public JSONArray put(int index, long value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
252253254255256257258259260261
public JSONArray put(int index, short value) throws JSONException { try { delegate.put(index,(short)value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }