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
public class LargeObjectException extends Exception
Wrapper forLargeObjectException
. Since org.eclipse.jgit.errors.LargeObjectException is aRuntimeException
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 normalException
allows to display a proper error message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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 Detail
-
LargeObjectException
public LargeObjectException(String message, org.eclipse.jgit.errors.LargeObjectException cause)
-
-