253254255256257258259260261262263
try { delegate.put(index,(short)value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } } public JSONArray put(int index, Map value) throws JSONException {
264265266267268269270271272273274
try { delegate.put(index,value); return this; } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } } public JSONArray put(int index, Object value) throws JSONException {
289290291292293294295296297298299
this.delegate.put(index, value); } } } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return this; }
305306307308309310311312313314315
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; }
331332333334335336337338339340341
this.delegate.put(value); } } } catch (Exception ex) { JSONException jex = new JSONException(ex.getMessage()); jex.initCause(ex); throw jex; } return this; }
391392393394395396397398399400401
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; } }