Code example for JSONException

Methods: getMessage

0
		JSONObject jsondictionary;
		try { 
			jsondictionary = jso.getJSONObject("nsdictionary");
		} 
		catch (JSONException e) {
			throw new UnmarshallException("Could not read dictionary: " + e.getMessage(), e);
		} 
		if (jsondictionary == null) {
			throw new UnmarshallException("nsdictionary missing"); 
		} 
		ObjectMatch m = new ObjectMatch(-1);
		Iterator i = jsondictionary.keys();
		String key = null;
		state.setSerialized(o, m);
		try { 
			while (i.hasNext()) {
				key = (String) i.next();
				m.setMismatch(ser.tryUnmarshall(state, null, jsondictionary.get(key)).max(m).getMismatch());
			} 
		} 
		catch (UnmarshallException e) {