Index: third_party/protobuf/java/core/src/main/java/com/google/protobuf/AbstractParser.java |
diff --git a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/AbstractParser.java b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/AbstractParser.java |
index 66b0ee3bd5494537c4d53772d7cf0a7361730edb..7ff73ba4d1b4623cc152c9716bba39a106f58c7e 100644 |
--- a/third_party/protobuf/java/core/src/main/java/com/google/protobuf/AbstractParser.java |
+++ b/third_party/protobuf/java/core/src/main/java/com/google/protobuf/AbstractParser.java |
@@ -232,7 +232,7 @@ public abstract class AbstractParser<MessageType extends MessageLite> |
} |
size = CodedInputStream.readRawVarint32(firstByte, input); |
} catch (IOException e) { |
- throw new InvalidProtocolBufferException(e.getMessage()); |
+ throw new InvalidProtocolBufferException(e); |
} |
InputStream limitedInput = new LimitedInputStream(input, size); |
return parsePartialFrom(limitedInput, extensionRegistry); |