diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-09-03 09:38:30 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-09-03 10:57:55 -0700 |
commit | 9239c1038562c9c16a49165e3293f8c895ef50c2 (patch) | |
tree | f20c38d94b30bd68279081df57b4e00948f35740 /org.eclipse.jgit/src/org/eclipse/jgit/errors/TranslationBundleException.java | |
parent | e6bd689d2c48efb4e6662ffca2fbdbc7570d2db1 (diff) | |
download | jgit-9239c1038562c9c16a49165e3293f8c895ef50c2.tar.gz jgit-9239c1038562c9c16a49165e3293f8c895ef50c2.zip |
ReceivePack: Rethrow exceptions caught during indexing
If we get an exception while indexing the incoming pack, its likely
a stream corruption. We already report an error to the client, but
we eat the stack trace, which makes debugging issues related to a
bug inside of JGit nearly impossible. Rethrow it under a new type
UnpackException, so embedding servers or applications can catch the
error and provide it to a human who might be able to forward such
traces onto a JGit developer for evaluation.
Change-Id: Icad41148bbc0c76f284c7033a195a6b51911beab
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/errors/TranslationBundleException.java')
0 files changed, 0 insertions, 0 deletions