6263646566676869707172
} catch (ParseException e2) { try { String tmp = value.replace("Z", "+00:00"); return iso8601Format.parse(tmp.substring(0, 22) + tmp.substring(23)); } catch (ParseException e3) { throw new JsonSyntaxException("Invalid date: " + value, e3); } } } } }
210211212213214215216217218219220
} else { field.read(in, instance); } } } catch (IllegalStateException e) { throw new JsonSyntaxException(e); } catch (IllegalAccessException e) { throw new AssertionError(e); } in.endObject(); return instance;
6465666768697071
try { synchronized (useDateFormat) { return useDateFormat.parse(s); } } catch (ParseException e) { throw new JsonSyntaxException(s, e); } }
177178179180181182183184185186187
72737475767778798081
try { if (obj != null && reader.peek() != JsonToken.END_DOCUMENT) { throw new JsonIOException("JSON document was not fully consumed."); } } catch (final MalformedJsonException e) { throw new JsonSyntaxException(e); } catch (final IOException e) { throw new JsonIOException(e); } }
283284285286287288289290291292293294295296297298299300301302303304
if (token != null) { try { adaptCurrentToken(); } catch (final XmlPullParserException e) { throw new JsonSyntaxException("XML parsing exception", e); } expectedToken = null; return token; } try { fillQueues(false); expectedToken = null; return token = nextToken(); } catch (final XmlPullParserException e) { throw new JsonSyntaxException("XML parsing exception", e); } }
599600601602603604605606
addToQueue(name); addTextToQueue(xml.value, false); return false; default: throw new JsonSyntaxException("Cannot process text '" + xml.value + "' inside scope " + scopeStack.peek()); } }
166167168169170171172173
return score; } } return Score.not_reviewed; } catch (Exception e) { throw new JsonSyntaxException(jsonElement.getAsString(), e); } }
298299300301302303304305
synchronized (dateFormat) { Date date = dateFormat.parse(jsonElement.getAsString()); return new Date((date.getTime() / 1000) * 1000); } } catch (ParseException e) { throw new JsonSyntaxException(jsonElement.getAsString(), e); } }
5556575859606162636465
} catch (ParseException e2) { try { String tmp = value.replace("Z", "+00:00"); return iso8601Format.parse(tmp.substring(0, 22) + tmp.substring(23)); } catch (ParseException e3) { throw new JsonSyntaxException("Invalid date " + value, e3); } } } } }