public interface ReposVerifyCallback
extends java.util.EventListener
ISVNRepos#verify(File,Revision,Revision,boolean,boolean,ReposNotifyCallback,ReposVerifyCallback)
.Modifier and Type | Method and Description |
---|---|
void |
onVerifyError(long revision,
ClientException verifyError)
This callback method is invoked every time
ISVNRepos#verify
encounters an error. |
void onVerifyError(long revision, ClientException verifyError) throws ClientException
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
.
revision
- The revision that caused the error.
If revision
is Revision.SVN_INVALID_REVNUM
,
the error occurred during metadata verification.verifyError
- The verification error.ClientException