diff options
author | Anuraag Agrawal <anuraaga@gmail.com> | 2017-04-03 17:35:42 +0900 |
---|---|---|
committer | Anuraag Agrawal <anuraaga@gmail.com> | 2017-04-03 17:35:42 +0900 |
commit | 58373fa160368d825255b0103235b1b769520f14 (patch) | |
tree | 4b284a91833f5de4225f5d53c0c81545ec1f0813 /java/util/src | |
parent | 11c902ea2ef0a481f607693b35b6cc765e9f4caa (diff) |
Fix error message for int64 parse error.
Diffstat (limited to 'java/util/src')
-rw-r--r-- | java/util/src/main/java/com/google/protobuf/util/JsonFormat.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java b/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java index 838700f7..7d6718b8 100644 --- a/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java +++ b/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java @@ -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); } } |