Package org.eclipse.jgit.transport
Interface ReceiveCommandErrorHandler
public interface ReceiveCommandErrorHandler
Exception handler for processing
ReceiveCommand
.- Since:
- 5.7
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Handle an exception thrown while checking if the update is fast-forward.default void
Handle an exception thrown while checking if the update is fast-forward.default void
Handle an exception thrown while validating the new commit ID.default void
Handle an exception thrown while validating the old commit ID.
-
Method Details
-
handleNewIdValidationException
Handle an exception thrown while validating the new commit ID.- Parameters:
cmd
- offending commande
- exception thrown
-
handleOldIdValidationException
Handle an exception thrown while validating the old commit ID.- Parameters:
cmd
- offending commande
- exception thrown
-
handleFastForwardCheckException
Handle an exception thrown while checking if the update is fast-forward.- Parameters:
cmd
- offending commande
- exception thrown
-
handleBatchRefUpdateException
Handle an exception thrown while checking if the update is fast-forward.- Parameters:
cmds
- commands being processede
- exception thrown
-