Moved NzbDroneClientException to Core

This commit is contained in:
Mark McDowall 2013-09-09 08:09:55 -07:00
parent 0c57c6a6c1
commit 529f65339f
5 changed files with 5 additions and 9 deletions

View File

@ -3,7 +3,7 @@ using FluentValidation;
using NLog; using NLog;
using Nancy; using Nancy;
using NzbDrone.Api.Extensions; using NzbDrone.Api.Extensions;
using NzbDrone.Common.Exceptions; using NzbDrone.Core;
using HttpStatusCode = Nancy.HttpStatusCode; using HttpStatusCode = Nancy.HttpStatusCode;
namespace NzbDrone.Api.ErrorManagement namespace NzbDrone.Api.ErrorManagement

View File

@ -88,7 +88,6 @@
<Compile Include="EnvironmentInfo\StartupArguments.cs" /> <Compile Include="EnvironmentInfo\StartupArguments.cs" />
<Compile Include="EnvironmentInfo\RuntimeInfo.cs" /> <Compile Include="EnvironmentInfo\RuntimeInfo.cs" />
<Compile Include="EnvironmentInfo\OsInfo.cs" /> <Compile Include="EnvironmentInfo\OsInfo.cs" />
<Compile Include="Exceptions\NzbDroneClientException.cs" />
<Compile Include="Exceptions\NzbDroneException.cs" /> <Compile Include="Exceptions\NzbDroneException.cs" />
<Compile Include="IEnumerableExtensions.cs" /> <Compile Include="IEnumerableExtensions.cs" />
<Compile Include="Instrumentation\GlobalExceptionHandlers.cs" /> <Compile Include="Instrumentation\GlobalExceptionHandlers.cs" />

View File

@ -1,9 +1,4 @@
using System; using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using NzbDrone.Common.Exceptions;
namespace NzbDrone.Core.MetadataSource.Trakt namespace NzbDrone.Core.MetadataSource.Trakt
{ {

View File

@ -224,6 +224,7 @@
<Compile Include="Instrumentation\Commands\TrimLogCommand.cs" /> <Compile Include="Instrumentation\Commands\TrimLogCommand.cs" />
<Compile Include="Instrumentation\DeleteLogFilesService.cs" /> <Compile Include="Instrumentation\DeleteLogFilesService.cs" />
<Compile Include="MetadataSource\Trakt\TraktException.cs" /> <Compile Include="MetadataSource\Trakt\TraktException.cs" />
<Compile Include="NzbDroneClientException.cs" />
<Compile Include="ProgressMessaging\NewProgressMessageEvent.cs" /> <Compile Include="ProgressMessaging\NewProgressMessageEvent.cs" />
<Compile Include="ProgressMessaging\ProgressMessage.cs" /> <Compile Include="ProgressMessaging\ProgressMessage.cs" />
<Compile Include="ProgressMessaging\ProgressMessageTarget.cs" /> <Compile Include="ProgressMessaging\ProgressMessageTarget.cs" />

View File

@ -1,6 +1,7 @@
using System.Net; using System.Net;
using NzbDrone.Common.Exceptions;
namespace NzbDrone.Common.Exceptions namespace NzbDrone.Core
{ {
public class NzbDroneClientException : NzbDroneException public class NzbDroneClientException : NzbDroneException
{ {