dotnet-installer/src/Microsoft.DotNet.Cli.Utils/CommandUnknownException.cs

25 lines
767 B
C#
Raw Normal View History

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
2016-01-06 10:27:16 +00:00
namespace Microsoft.DotNet.Cli.Utils
{
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
{
}
}
}