2016-01-06 10:27:16 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Utils
|
|
|
|
|
{
|
2016-04-12 23:44:34 +00:00
|
|
|
|
public class CommandUnknownException : GracefulException
|
2016-01-06 10:27:16 +00:00
|
|
|
|
{
|
2016-12-17 06:41:06 +00:00
|
|
|
|
public CommandUnknownException(string commandName) : base(string.Format(
|
|
|
|
|
LocalizableStrings.NoExecutableFoundMatchingCommand,
|
|
|
|
|
commandName))
|
2016-01-06 10:27:16 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2016-12-17 06:41:06 +00:00
|
|
|
|
public CommandUnknownException(string commandName, Exception innerException) : base(
|
|
|
|
|
string.Format(
|
|
|
|
|
LocalizableStrings.NoExecutableFoundMatchingCommand,
|
|
|
|
|
commandName),
|
|
|
|
|
innerException)
|
2016-01-06 10:27:16 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|