35 references to GracefulException
dotnet-aot (20)
parent\dotnet\CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (2)
88throw new GracefulException(string.Format(CliStrings.NeedRunToolRestore, 97throw new GracefulException(string.Format(CliStrings.NeedRunToolRestore,
parent\dotnet\Commands\Sdk\Check\ProductCollectionProvider.cs (1)
23throw new GracefulException(string.Format(CliCommandStrings.ReleasesLibraryFailed, e.Message));
parent\dotnet\Commands\Solution\Migrate\SolutionMigrateCommand.cs (1)
31throw new GracefulException(CliCommandStrings.CannotMigrateSlnx);
parent\dotnet\Commands\Solution\Remove\SolutionRemoveCommand.cs (1)
33throw new GracefulException(CliStrings.SpecifyAtLeastOneProjectToRemove);
parent\dotnet\Commands\Solution\SolutionArgumentValidator.cs (2)
24throw new GracefulException(message); 32throw new GracefulException(CliCommandStrings.SolutionFolderAndInRootMutuallyExclusive);
parent\dotnet\Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.cs (6)
344throw new GracefulException( 352throw new GracefulException(CliCommandStrings.CmdAffectedTestsOptionsMutuallyExclusive); 357throw new GracefulException(CliCommandStrings.CmdCollectTestMapCannotRunModulesInParallel); 363throw new GracefulException(CliCommandStrings.CmdCollectTestMapCannotRequireMinimumTests); 406throw new GracefulException(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent); 419throw new GracefulException(CliCommandStrings.CmdAffectedTestsResponseFilesMustBeConsistent);
parent\dotnet\Commands\Tool\Search\ToolSearchCommand.cs (1)
59throw new GracefulException(
parent\dotnet\Commands\Tool\ToolCommandSpecCreator.cs (1)
27throw new GracefulException(string.Format(CliStrings.ToolSettingsUnsupportedRunner, toolName, toolRunner));
parent\dotnet\MsbuildProject.cs (2)
28: throw new GracefulException(error); 219throw new GracefulException(string.Format(
parent\dotnet\NugetPackageDownloader\NuGetPackageDownloader.cs (1)
359throw new GracefulException(string.Format(CliStrings.ResolvedPathEscapesTargetDirectory, fullPath, targetFolder.Value));
parent\dotnet\NugetPackageDownloader\ToolPackageException.cs (1)
16public NuGetPackageInstallerException(string message) : base(message)
parent\dotnet\SlnFileFactory.cs (1)
26throw new GracefulException(CliStrings.CouldNotFindSolutionOrDirectory);
Microsoft.DotNet.Cli.CoreUtils (1)
GracefulException.cs (1)
31public GracefulException(string format, params string[] args) : this(string.Format(format, args))
Microsoft.DotNet.Cli.Definitions (9)
Commands\Package\PackageListCommandDefinition.cs (1)
140throw new Utils.GracefulException(CommandDefinitionStrings.OptionsCannotBeCombined);
Commands\Tool\ToolLocationOptions.cs (2)
49throw new GracefulException( 61throw new GracefulException(
Common\CommonArguments.cs (2)
46throw new GracefulException(CommandDefinitionStrings.PackageIdentityArgumentIdOrVersionIsNull); 56throw new GracefulException(string.Format(CommandDefinitionStrings.InvalidVersion, versionString));
Common\CommonOptions.cs (1)
374throw new GracefulException(CommandDefinitionStrings.SelfContainAndNoSelfContainedConflict);
Common\TargetPlatformOptions.cs (3)
69throw new GracefulException(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndArchOptions); 85throw new GracefulException(CommandDefinitionStrings.CannotSpecifyBothRuntimeAndOsOptions); 123throw new GracefulException(CommandDefinitionStrings.CannotResolveRuntimeIdentifier);
Microsoft.DotNet.Cli.Utils (5)
CommandAvailableAsDotNetToolException.cs (1)
8public CommandAvailableAsDotNetToolException(string commandName) : base(GetMessage(commandName))
CommandUnknownException.cs (2)
10public CommandUnknownException(string commandName) : base( 18public CommandUnknownException(string commandName, Exception innerException) : base(
Extensions\LockFileFormatExtensions.cs (1)
19throw new GracefulException(string.Join(
PathUtility.cs (1)
356throw new GracefulException(