public class LargeObjectException
extends java.lang.Exception
LargeObjectException
. Since
org.eclipse.jgit.errors.LargeObjectException is a RuntimeException
the GerritJsonServlet
would treat it as internal failure and as result the web ui would just show 'Internal Server
Error'. Wrapping org.eclipse.jgit.errors.LargeObjectException into a normal Exception
allows to display a proper error message.Constructor and Description |
---|
LargeObjectException(java.lang.String message,
org.eclipse.jgit.errors.LargeObjectException cause) |