Commit 58373fa1 authored by Anuraag Agrawal's avatar Anuraag Agrawal

Fix error message for int64 parse error.

parent 11c902ea
......@@ -1536,7 +1536,7 @@ public class JsonFormat {
BigDecimal value = new BigDecimal(json.getAsString());
return value.longValueExact();
} catch (Exception e) {
throw new InvalidProtocolBufferException("Not an int32 value: " + json);
throw new InvalidProtocolBufferException("Not an int64 value: " + json);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment