Move CommandCreationException to root

This commit is contained in:
Krzysztof Wicher 2017-02-22 10:52:23 -08:00
parent 099dca3950
commit 873bb31cfa
2 changed files with 16 additions and 10 deletions

View file

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.DotNet.Cli
{
internal class CommandCreationException : Exception
{
public int ExitCode { get; private set; }
public CommandCreationException(int exitCode)
{
ExitCode = exitCode;
}
}
}

View file

@ -142,15 +142,5 @@ namespace Microsoft.DotNet.Tools.Build
{
return GetProcessStartInfo().Execute();
}
private class CommandCreationException : Exception
{
public int ExitCode { get; private set; }
public CommandCreationException(int exitCode)
{
ExitCode = exitCode;
}
}
}
}