Class 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:
    Serialized Form
    • Constructor Detail

      • LargeObjectException

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