Interface ReposVerifyCallback

All Superinterfaces:
EventListener

public interface ReposVerifyCallback
extends EventListener
Error notifications from ISVNRepos#verify(File,Revision,Revision,boolean,boolean,ReposNotifyCallback,ReposVerifyCallback).
Since:
1.9
  • Method Summary

    Modifier and Type Method Description
    void onVerifyError​(long revision, ClientException verifyError)
    This callback method is invoked every time ISVNRepos#verify encounters an error.
  • Method Details

    • onVerifyError

      void onVerifyError​(long revision, ClientException verifyError) throws ClientException
      This callback method is invoked every time ISVNRepos#verify encounters an error.

      The implementation can either consume verifyError and return normally to continue verifying the repository after an error, or throw verifyError (or some other exception) to indicate that verification should stop. In the second case, the thrown exception will propagate to the caller of ISVNRepos#verify.

      Parameters:
      revision - The revision that caused the error. If revision is Revision.SVN_INVALID_REVNUM, the error occurred during metadata verification.
      verifyError - The verification error.
      Throws:
      ClientException