sonarr-repo-only/NzbDrone.Core/Exceptions/BadRequestException.cs

16 lines
389 B
C#
Raw Normal View History

2013-09-19 00:25:45 +00:00
using System.Net;
namespace NzbDrone.Core.Exceptions
{
public class BadRequestException : DownstreamException
{
2013-09-26 02:51:07 +00:00
public BadRequestException(string message) : base(HttpStatusCode.BadRequest, message)
{
}
2013-09-26 02:51:07 +00:00
public BadRequestException(string message, params object[] args) : base(HttpStatusCode.BadRequest, message, args)
{
}
}
}