Package org.eclipse.jgit.transport
Interface ReceiveCommandErrorHandler
-
public interface ReceiveCommandErrorHandler
Exception handler for processingReceiveCommand
.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
handleBatchRefUpdateException(List<ReceiveCommand> cmds, IOException e)
Handle an exception thrown while checking if the update is fast-forward.default void
handleFastForwardCheckException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while checking if the update is fast-forward.default void
handleNewIdValidationException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while validating the new commit ID.default void
handleOldIdValidationException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while validating the old commit ID.
-
-
-
Method Detail
-
handleNewIdValidationException
default void handleNewIdValidationException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while validating the new commit ID.- Parameters:
cmd
- offending commande
- exception thrown
-
handleOldIdValidationException
default void handleOldIdValidationException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while validating the old commit ID.- Parameters:
cmd
- offending commande
- exception thrown
-
handleFastForwardCheckException
default void handleFastForwardCheckException(ReceiveCommand cmd, IOException e)
Handle an exception thrown while checking if the update is fast-forward.- Parameters:
cmd
- offending commande
- exception thrown
-
handleBatchRefUpdateException
default void handleBatchRefUpdateException(List<ReceiveCommand> cmds, IOException e)
Handle an exception thrown while checking if the update is fast-forward.- Parameters:
cmds
- commands being processede
- exception thrown
-
-