public bool ContainsError(SvnAprErrorCode code) { return(GetCause(code) != null); }
protected override bool OnRetryLoopInvocation(int nr, SvnAprErrorCode error, SvnWindowsErrorCode osError, string expr) { Assert.That(osError, Is.Not.EqualTo(0)); Assert.That(expr, Is.Not.Null); Assert.That(expr.Contains("apr_"), "'{0}' contains apr_"); Assert.That(nr, Is.GreaterThan(1)); return base.OnRetryLoopInvocation(nr, error, osError, expr); }
public SvnException GetCause(SvnAprErrorCode code) { return(GetCause((SvnErrorCode)(int)code)); }