protected override void AddInterceptor(object o)
        {
            if (o == null)
            {
                throw new ArgumentException(string.Format("Unable to instantiate ExceptionInterceptor", new object[0]));
            }
            if (!(o is BaseExceptionInterceptor))
            {
                throw new InvalidOperationException(string.Format(Resources.TypeIsNotExceptionInterceptor, o.GetType()));
            }
            BaseExceptionInterceptor baseExceptionInterceptor = o as BaseExceptionInterceptor;

            baseExceptionInterceptor.Init(this.connection);
            this.interceptors.Insert(0, (BaseExceptionInterceptor)o);
        }
        protected override void AddInterceptor(object o)
        {
            if (o == null)
            {
                throw new ArgumentException(String.Format("Unable to instantiate ExceptionInterceptor"));
            }

            if (!(o is BaseExceptionInterceptor))
            {
                throw new InvalidOperationException(String.Format("Resources.TypeIsNotExceptionInterceptor",

                                                                  o.GetType()));
            }
            BaseExceptionInterceptor ie = o as BaseExceptionInterceptor;

            ie.Init(connection);
            interceptors.Insert(0, (BaseExceptionInterceptor)o);
        }