263264265266267268269270271272
public JSONArray put(int index, Map value) throws JSONException { try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } }
288289290291292293294295296297298
} else if (String.class.isAssignableFrom(clazz)) { this.delegate.put(index, value); } } } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return this; }
304305306307308309310311312313314
public JSONArray put(Map value) throws JSONException { try { delegate.put(value); } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return this; }
330331332333334335336337338339340
} else if (String.class.isAssignableFrom(clazz)) { this.delegate.put(value); } } } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return this; }
390391392393394395396397398399400
public Writer write(Writer w) throws JSONException { try { delegate.write(w); } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return w; }