aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/WebApiException.cs
blob: a52a0ce6fe1b2b30f669b5a184561c6ec61fba7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;

namespace Tango.MachineService
{
    public class WebApiException : Exception
    {
        public HttpStatusCode StatusCode { get; set; }

        public WebApiException(HttpStatusCode statusCode, String message) : base(message)
        {
            StatusCode = statusCode;
        }
    }
}
pan>System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); public static Settings Default { get { return defaultInstance; } } } }