Fixing java test

pull/9461/head
Deanna Garcia 3 years ago
parent 8dc77b9957
commit c8b388a6cb
  1. 8
      java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java

@ -55,6 +55,14 @@ public class InvalidProtocolBufferException extends IOException {
super(description, e);
}
public InvalidProtocolBufferException(IOException e) {
super(e.getMessage(), e);
}
public InvalidProtocolBufferException(String description, IOException e) {
super(description, e);
}
/**
* Attaches an unfinished message to the exception to support best-effort parsing in {@code
* Parser} interface.

Loading…
Cancel
Save