]> source.dussan.org Git - jgit.git/commit
PushCertificateParser: throw PackProtocolException in more cases 95/50295/6
authorDave Borowitz <dborowitz@google.com>
Mon, 15 Jun 2015 19:48:22 +0000 (15:48 -0400)
committerDave Borowitz <dborowitz@google.com>
Thu, 18 Jun 2015 13:50:12 +0000 (09:50 -0400)
commit48c35edfd2e65bbc4229d287e808c98b03b04544
treeeebf5cc7b9a2ac80f96258400c8a3fd3e1f690dc
parent8d0cedf2ecffd7e9f7c986ee1d46cc3a9087eb85
PushCertificateParser: throw PackProtocolException in more cases

This is the subclass of IOException already thrown by
BaseReceivePack#recvCommands when encountering an invalid value on
the wire. That's what PushCertificateParser is doing too, so use the
same subclass.

Change-Id: I1d323909ffe70757ea56e511556080695b1a0c11
org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java