protected override bool ShouldRetryOn(Exception exception)
        {
            if (_additionalErrorNumbers != null)
            {
                if (exception is OracleException OracleException)
                {
                    if (_additionalErrorNumbers.Contains(OracleException.Number))
                    {
                        return(true);
                    }
                }
            }

            return(OracleTransientExceptionDetector.ShouldRetryOn(exception));
        }
        /// <summary>
        /// 应再重试
        /// </summary>
        /// <param name="exception">异常</param>
        /// <returns></returns>
        protected override bool ShouldRetryOn(Exception exception)
        {
            OracleException val;

            if (_additionalErrorNumbers != null && (val = (exception as OracleException)) != null)
            {
                foreach (OracleError item in (ArrayList)(object)val.Errors)
                {
                    OracleError err = (OracleError)(object)item;
                    if (_additionalErrorNumbers.Contains(err.Number))
                    {
                        return(true);
                    }
                }
            }
            return(OracleTransientExceptionDetector.ShouldRetryOn(exception));
        }