protected virtual void ProcessExceptionHandlers(IExecutionContext executionContext, Exception exception) { if (mExceptionEvent != null) { WebServiceExceptionEventArgs e = WebServiceExceptionEventArgs.Create(exception, executionContext.RequestContext.Request); mExceptionEvent(this, e); } }
protected virtual void ProcessExceptionHandlers(IExecutionContext executionContext, Exception exception) { if (ExceptionEvent == null) { return; } WebServiceExceptionEventArgs args = WebServiceExceptionEventArgs.Create(exception, executionContext.RequestContext.Request); ExceptionEvent(this, args); }
protected virtual void ProcessExceptionHandlers(Exception exception, IRequest request) { if (exception == null) { throw new ArgumentNullException("exception"); } WebServiceExceptionEventArgs args = WebServiceExceptionEventArgs.Create(exception, request); if (ExceptionEvent != null) { ExceptionEvent(this, args); } }
protected virtual void ProcessExceptionHandlers(Exception exception, IRequest request) { if (request == null) { return; } if (ExceptionEvent == null) { return; } WebServiceExceptionEventArgs args = WebServiceExceptionEventArgs.Create(exception, request); ExceptionEvent(this, args); }