org.apache.subversion.javahl.callback
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
 void onVerifyError(long revision, ClientException verifyError)
          This callback method is invoked every time ISVNRepos#verify encounters an error.
 

Method Detail

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