public class LargeObjectException extends 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(String message,
org.eclipse.jgit.errors.LargeObjectException cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LargeObjectException(String message, org.eclipse.jgit.errors.LargeObjectException cause)