Added NMA support, also added generic HttpStatusCode handling

This commit is contained in:
Mark McDowall
2013-09-16 11:14:09 -07:00
parent de012aec21
commit eb7dda0629
12 changed files with 254 additions and 2 deletions
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using NzbDrone.Common.Exceptions;
namespace NzbDrone.Core.Exceptions
{
public class BadRequestException : DownstreamException
{
public BadRequestException(HttpStatusCode statusCode, string message) : base(statusCode, message)
{
}
public BadRequestException(HttpStatusCode statusCode, string message, params object[] args) : base(statusCode, message, args)
{
}
}
}