Top Description Methods
org.eclipse.jgit.transport

public Interface ReceiveCommandErrorHandler

Imports
java.io.IOException, java.util.List, org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.transport.ReceiveCommand.Result

Exception handler for processing ReceiveCommand.
Since
5.7

Method Summary

Modifier and TypeMethod and Description
public default void
handleBatchRefUpdateException(List<ReceiveCommand>
commands being processed
cmds
,
IOException
exception thrown
e
)

Handle an exception thrown while checking if the update is fast-forward.

public default void
handleFastForwardCheckException(ReceiveCommand
offending command
cmd
,
IOException
exception thrown
e
)

Handle an exception thrown while checking if the update is fast-forward.

public default void
handleNewIdValidationException(ReceiveCommand
offending command
cmd
,
IOException
exception thrown
e
)

Handle an exception thrown while validating the new commit ID.

public default void
handleOldIdValidationException(ReceiveCommand
offending command
cmd
,
IOException
exception thrown
e
)

Handle an exception thrown while validating the old commit ID.

Method Detail

handleBatchRefUpdateExceptionback to summary
public default void handleBatchRefUpdateException(List<ReceiveCommand> cmds, IOException e)

Handle an exception thrown while checking if the update is fast-forward.

Parameters
cmds:List<ReceiveCommand>

commands being processed

e:IOException

exception thrown

handleFastForwardCheckExceptionback to summary
public default void handleFastForwardCheckException(ReceiveCommand cmd, IOException e)

Handle an exception thrown while checking if the update is fast-forward.

Parameters
cmd:ReceiveCommand

offending command

e:IOException

exception thrown

handleNewIdValidationExceptionback to summary
public default void handleNewIdValidationException(ReceiveCommand cmd, IOException e)

Handle an exception thrown while validating the new commit ID.

Parameters
cmd:ReceiveCommand

offending command

e:IOException

exception thrown

handleOldIdValidationExceptionback to summary
public default void handleOldIdValidationException(ReceiveCommand cmd, IOException e)

Handle an exception thrown while validating the old commit ID.

Parameters
cmd:ReceiveCommand

offending command

e:IOException

exception thrown