Package com.google.gerrit.server.git
Class LargeObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.server.git.LargeObjectException
- All Implemented Interfaces:
Serializable
Wrapper for
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLargeObjectException
(String message) LargeObjectException
(String message, org.eclipse.jgit.errors.LargeObjectException cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LargeObjectException
-
LargeObjectException
-