AppActs.API.WebService.Location.ProcessRequest C# (CSharp) Method

ProcessRequest() public method

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void
        public override void ProcessRequest(HttpContext context)
        {
            try
            {

                this.DeviceService.Log(new Model.Device.DeviceLocation(context.Request.QueryString),
                    new Model.ApplicationInfo(context.Request.QueryString));
            }
            catch (InactiveApplicationException)
            {
                this.ResponseCodeType = WebServiceResponseCodeType.InactiveApplicationException;
            }
            catch (NoDeviceException)
            {
                this.ResponseCodeType = WebServiceResponseCodeType.NoDeviceException;
            }
            catch (Exception ex)
            {
                this.ResponseCodeType = WebServiceResponseCodeType.GeneralError;
                this.Logger.Error("Location", ex);
            }

            base.ProcessRequest(context);
        }