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 timeISVNRepos#verify
encounters an error.
-
Method Details
-
onVerifyError
This callback method is invoked every timeISVNRepos#verify
encounters an error.The implementation can either consume
verifyError
and return normally to continue verifying the repository after an error, or throwverifyError
(or some other exception) to indicate that verification should stop. In the second case, the thrown exception will propagate to the caller ofISVNRepos#verify
.- Parameters:
revision
- The revision that caused the error. Ifrevision
isRevision.SVN_INVALID_REVNUM
, the error occurred during metadata verification.verifyError
- The verification error.- Throws:
ClientException
-