public interface ReceiveCommandErrorHandler
ReceiveCommand
.Modifier and Type | Method and 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.
|
default void handleNewIdValidationException(ReceiveCommand cmd, IOException e)
cmd
- offending commande
- exception throwndefault void handleOldIdValidationException(ReceiveCommand cmd, IOException e)
cmd
- offending commande
- exception throwndefault void handleFastForwardCheckException(ReceiveCommand cmd, IOException e)
cmd
- offending commande
- exception throwndefault void handleBatchRefUpdateException(List<ReceiveCommand> cmds, IOException e)
cmds
- commands being processede
- exception thrownCopyright © 2020 Eclipse JGit Project. All rights reserved.