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