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 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 Details

    • LargeObjectException

      public LargeObjectException(String message)
    • LargeObjectException

      public LargeObjectException(String message, org.eclipse.jgit.errors.LargeObjectException cause)