]> source.dussan.org Git - jgit.git/commit
Add ObjectId to the LargeObjectException 98/1398/3
authorShawn O. Pearce <spearce@spearce.org>
Tue, 24 Aug 2010 23:11:41 +0000 (16:11 -0700)
committerChris Aniszczyk <caniszczyk@gmail.com>
Wed, 25 Aug 2010 23:54:07 +0000 (18:54 -0500)
commit1f4b48a37c73c3bf3f623b7a5de5f03e38ec6db7
treece4d67f669f13d1678ff9ab74e2d4ec67c7eff38
parent700b8b4514e6089da0da8c4351536efaac239a58
Add ObjectId to the LargeObjectException

A chunk of code that throws LargeObjectException may or may not have
the specific ObjectId on hand when its thrown.  If it does, we want
to cache it in the exception, and put that in the message.  If it is
missing we want to be able to set it later from a higher level stack
frame that does have the object handy.

Change-Id: Ife25546158868bdfa886037e4493ef8235ebe4b9
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/errors/LargeObjectException.java