16 references to GracefulException
dotnet (16)
Commands\Sdk\Check\SdkCheckCommand.cs (2)
69
throw new
GracefulException
([CliCommandStrings.RuntimePropertyNotFound], [], isUserError: false);
72
throw new
GracefulException
([CliCommandStrings.HostFxrCouldNotBeLoaded], [hostFxrNotFoundException.Message], isUserError: false);
Commands\Solution\SolutionArgumentValidator.cs (1)
54
throw new
GracefulException
(
Commands\Tool\Common\ToolManifestFinderExtensions.cs (1)
32
throw new
GracefulException
([e.Message, CliCommandStrings.ToolCommonNoManifestGuide], verboseMessages: [e.VerboseMessage], isUserError: false);
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (4)
265
throw new
GracefulException
(
289
throw new
GracefulException
(
311
throw new
GracefulException
(
338
throw new
GracefulException
(messages:
Commands\Tool\Install\ToolInstallLocalCommand.cs (1)
126
throw new
GracefulException
(
Commands\Tool\Install\ToolInstallLocalInstaller.cs (1)
91
throw new
GracefulException
(
Commands\Tool\Run\ToolRunCommand.cs (1)
40
throw new
GracefulException
([string.Format(CliCommandStrings.CannotFindCommandName, toolCommandName)], isUserError: false);
Commands\Tool\Uninstall\ToolUninstallGlobalOrToolPathCommand.cs (3)
63
throw new
GracefulException
(messages: [string.Format(CliCommandStrings.ToolUninstallToolNotInstalled, packageId)], isUserError: false);
68
throw new
GracefulException
(messages: [string.Format(CliCommandStrings.ToolUninstallToolHasMultipleVersionsInstalled, packageId)], isUserError: false);
89
throw new
GracefulException
(
Commands\Tool\Uninstall\ToolUninstallLocalCommand.cs (1)
49
throw new
GracefulException
([string.Format(CliCommandStrings.NoManifestFileContainPackageId, _packageId)], isUserError: false);
ToolManifest\ToolManifestCannotBeFoundException.cs (1)
12
public ToolManifestCannotBeFoundException(string message) :
base
([message], null, false)