Interface ReceivePackErrorHandler


public interface ReceivePackErrorHandler
Handle git-receive-pack errors.

This is an entry point for customizing an error handler for git-receive-pack. Right before calling ReceivePack.receiveWithExceptionPropagation(java.io.InputStream, java.io.OutputStream, java.io.OutputStream), JGit will call this handler if specified through GitFilter. The implementation of this handler is responsible for calling ReceivePackErrorHandler.ReceivePackRunnable and handling exceptions for clients.

If a custom handler is not specified, JGit will use the default error handler.

Since:
5.7
  • Method Details